-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Include CRC32 in FileInfo #135
Comments
There are several CRC value in 7zip archive. Which one should be included?
Mandatory CRC is header crc and it may not be good for FileInfo field |
Oh,
If a file means '*.7z' file, there is no value in the archive. |
Have you ever used the built in python module I was able to find what I needed:
|
Very odd, the code above gives me the CRC32 of the file in the archive. If it's not in the metadata of the archive, where is it getting it from? |
You may mean
|
Yes, sorry. That is what I'm looking for. |
Sorry, just now, I cannot find a place where is a filed of CRC for each Files info in header.files_info.files. Here is a header decode block for files_info Lines 682 to 736 in a2971e4
|
Maybe around L463. Lines 458 to 467 in a2971e4
|
Try to implement in #136 |
This looks good to me! |
Is your feature request related to a problem? Please describe.
I would like to get the crc32 of a file without having to extract it.
Describe the solution you'd like
Add
crc32
as a field onFileInfo
Describe alternatives you've considered
I suspect this is already in some deeper structure of py7zr, but I don't understand enough to find it. I know it is listed when doing
7z l -slt file.7z
.The text was updated successfully, but these errors were encountered: