13 Commits

Author SHA1 Message Date
Kovid Goyal
5729e33412
librsync actually blocks on output buffer size as well as input availability. So handle that 2021-10-02 09:26:35 +05:30
Kovid Goyal
f85f39e662
Code to easily develop librsync bindings 2021-10-02 07:22:33 +05:30
Kovid Goyal
e6cff61f99
Move management of destination file completely into PatchFile 2021-10-01 14:29:14 +05:30
Kovid Goyal
17e95cb615
Add a test for rsync roundtrip 2021-09-19 20:55:00 +05:30
Kovid Goyal
1d1d82ca50
Setup ropr buffer sizes for rsync operations 2021-09-19 17:19:34 +05:30
Kovid Goyal
85be3e4ed1
Also avoid mallocs for the output buffer 2021-09-19 15:28:22 +05:30
Kovid Goyal
d5d52ec8b9
When driving a job on a file avoid mallocs for each read 2021-09-19 13:49:10 +05:30
Kovid Goyal
ecb0d1f325
More work on wrapping librsync 2021-09-19 13:26:09 +05:30
Kovid Goyal
2a9dff2846
Function to create the delta for a file 2021-09-18 14:00:59 +05:30
Kovid Goyal
bcd1837924
Generator for loading signatures
Also dont waste memory when no output is expected
2021-09-18 13:52:26 +05:30
Kovid Goyal
77508bfe0d
Handle blocking with unused input in librsync 2021-09-18 13:08:53 +05:30
Kovid Goyal
901a075a38
... 2021-09-18 11:51:54 +05:30
Kovid Goyal
a941b1af4e
Implement signature generation 2021-09-17 17:42:25 +05:30