-
Notifications
You must be signed in to change notification settings - Fork 82
feat(handler): add par2 directory handler #1166
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
base: main
Are you sure you want to change the base?
Conversation
I have no idea why there is a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please get rid of temporary commits (can be done with fixup
) and delete the erofs leftovers (can be done by rebasing on upstream/main).
68a798e
to
61d4df1
Compare
everything is now as it should be |
Commit a14e76a broke some typing, see:
We can have a look at it sometime this week. |
Parchive or PAR2, is a format for creating redundant data that helps detect and repair corrupted files. These archives typically accompany split-file sets (like multi-volume RAR or ZIP archives). Each PAR2 file is composed of multiple “packets.” The header starts with
PAR2\x00PKT
Create PAR2 file:
Verify PAR2 file:
Header :
Unblob identifies each PAR2 file in a given directory by validating the magic signature, computing the MD5 hash and validating it with the MD5 hash in the header. Since parchive is a repair tool, no extractor is specified.
[Sources]
https://docs.fileformat.com/compression/par/
https://parchive.github.io/
https://github.com/Parchive/par2cmdline/tree/master/src
https://parchive.github.io/doc/Parity%20Volume%20Set%20Specification%20v2.0.html