-
Notifications
You must be signed in to change notification settings - Fork 14
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
Identifying identical files #2
Comments
Hi @Andrew-Hanlon, Thanks for checking out this project. I'm all in for this feature. A pull-request is very appreciated! Cheers! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the great work you put into this port - it seems to run very efficiently.
I have been reading over the format, and am just wondering if you can confirm my understanding:
[Size]\n[Size]@0,
. Meaning that the full set of bytes is a copy.Is checking for this condition the best approach to identify files (post diff) that are identical?
Edit: Is there the possibility of flagging this condition to optionally return an empty byte array?
My scenario is where I have an archive of file diffs, and I want to be able to simply write a zero byte file so that I can bypass Applying them altogether later-on and simply perform a straight copy.
Thanks.
The text was updated successfully, but these errors were encountered: