You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
If the origin and target are the same then the byte stream will always start with [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:
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: