-
Notifications
You must be signed in to change notification settings - Fork 23
Teach ziplist to return crc32 and offset (optionally) #74
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
Teach ziplist to return crc32 and offset (optionally) #74
Conversation
* nb not int64 as this is what R's seek uses * the 2^53 byte file size limitation shouldn't be a problem!
|
Please note I have not processed the updated roxygen help block since you seem to have a special setup for that. |
|
AFAICS the only issue in the check is the expected doc mismatch |
gaborcsardi
left a comment
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.
Thanks! I don't think we need the extra argument, we can just always return the extra columns.
* As requested
|
@jefferis Please also add an entry to |
|
Thanks for the quick review @gaborcsardi! I've added the NEWS entry, so that should just leave:
when you are ready to merge. |
|
Looks great, thanks! |
Dear @gaborcsardi,
I wonder if you would consider a small pull request that optionally returns extra information about the zip file, specifically the crc32 and file offset for each zip entry. I have a project where I need this information in order to rapidly access entries inside very big zip files. Since I have made this information optional at the C level, I think it is harmless and could be useful for other people.
For the test file, we see:
Do you think you can consider a PR?
With many thanks, Greg