Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid sparse(extended) entries after writing #315

Open
attilarepka opened this issue Apr 9, 2023 · 0 comments · May be fixed by #321
Open

Invalid sparse(extended) entries after writing #315

attilarepka opened this issue Apr 9, 2023 · 0 comments · May be fixed by #321

Comments

@attilarepka
Copy link

attilarepka commented Apr 9, 2023

Hello,

First of all, thank you for this great crate!

On the other hand, sorry in advance, I am a beginner in Rust programming language.

Long story short, after reading sparse.tar into memory(Vec<u8>), the assertions are passing..
..but after writing these entries using append() method to the "output" Vec<u8> the same assertions fails.

I did fork the repository and the specific commit/test can be found here.

I couldn't find any example/testcase to pinpoint on how to work with sparse chunks, especially with extended sparse, so any help would be appreciated.

@attilarepka attilarepka changed the title Invalid sparse entries when after writing Invalid sparse entries after writing Apr 9, 2023
@attilarepka attilarepka changed the title Invalid sparse entries after writing Invalid sparse(extended) entries after writing Apr 10, 2023
@attilarepka attilarepka linked a pull request May 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant