detools icon indicating copy to clipboard operation
detools copied to clipboard

Can the C library only apply patches and not create patches?

Open JohnAlcatraz opened this issue 1 year ago • 3 comments

I'm looking for a way to use this in C to both create and apply patches. Can the C library do that, or can it only apply previously created patches?

JohnAlcatraz avatar Aug 18 '23 04:08 JohnAlcatraz

It can only apply patches. You have to use the Python stuff to create patches.

eerimoq avatar Aug 18 '23 06:08 eerimoq

That's unfortunate, since shipping anything Python in my native app would really not be practical. I need to use https://github.com/sisong/HDiffPatch then instead.

JohnAlcatraz avatar Aug 18 '23 15:08 JohnAlcatraz

ok

eerimoq avatar Aug 18 '23 16:08 eerimoq