Closed WindowsNT closed 4 months ago
a diff can be created without the original source to be present, only it's signature.
hdiffpatch lib have a demo hsynz, only used new data's hash datas(signature), to create any old datas's diff file.
Is it possible to meet your needs?
Basically, the idea is this:
So it would be the same as hdiffz/hpatchz but hdiffz would only create the diff from the precalculated signature file, not from the entire remote directory (which is very large).
So I will take a look to hsynz and see if it works, thanks a lot for your support.
I am considering using this for live updates of my apps. Currently I use Microsoft's RDC implementation.
It would be nice if there was a signature tool so the signatures are kept offline. For example:
Old folder = in web New folder = in my PC.
I could generate a signature for the old folder for the diff tool to use it instead of having to download again the old folder from my site in order to compare it with the newer folder in my PC.Therefore, a diff can be created without the original source to be present, only it's signature.
MSRDC supports that but of course, only Windows.
Best.