Kovid Goyal
|
0ffaaff8a7
|
Fix #8220
|
2025-01-16 13:21:31 +05:30 |
|
Kovid Goyal
|
405f5ce148
|
Use stdlib maps/slices
|
2024-06-24 07:54:13 +05:30 |
|
Kovid Goyal
|
49ea26968c
|
Bump go version to 1.21
Allows us to use the much faster builtin min/max functions
for two variable min/max
|
2023-08-09 11:58:16 +05:30 |
|
Kovid Goyal
|
edc1669ced
|
Ported tests all pass
|
2023-07-30 19:49:43 +05:30 |
|
Kovid Goyal
|
c84874ca8d
|
Add tests for the xxhash based hashers
|
2023-07-30 19:49:42 +05:30 |
|
Kovid Goyal
|
85df15bfc3
|
Add a test that the last op is hash
|
2023-07-30 19:49:42 +05:30 |
|
Kovid Goyal
|
f64c4f34ac
|
Also use io.Writer for signature iterator
|
2023-07-30 19:49:42 +05:30 |
|
Kovid Goyal
|
4b5216adcf
|
Change delta creation API to use io.Writer
Simplifies logic and avoids an extra copy if the writer doesnt need to
make its own copy
|
2023-07-30 19:49:41 +05:30 |
|
Kovid Goyal
|
94b5bedfa5
|
Add overall file checksum verification to the rsync protocol
|
2023-07-30 19:49:41 +05:30 |
|
Kovid Goyal
|
c2ad662bed
|
Use the append paradigm for the delta iterator as well
|
2023-07-30 19:49:41 +05:30 |
|
Kovid Goyal
|
77d5fe1be5
|
Change signature generation API to allow caller to provide storage and control iteration
|
2023-07-30 19:49:41 +05:30 |
|
Kovid Goyal
|
7268513332
|
More tests
|
2023-07-30 19:49:41 +05:30 |
|
Kovid Goyal
|
71c7c4b285
|
Clean up delta generation algorithm implementation
|
2023-07-30 19:49:41 +05:30 |
|
Kovid Goyal
|
83d97c515c
|
Use the iterator design for bytes based API as well
|
2023-07-30 19:49:41 +05:30 |
|
Kovid Goyal
|
35bfdbd926
|
...
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
3db2c4fe5d
|
Make the test non-random
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
74e0fa3f1d
|
Show invocation line for failing test
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
678ad627b2
|
Improve testing infra for rsync roundtrip
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
26c93af565
|
...
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
6a7c194d8f
|
In the tests check that too much data is not being transmitted
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
79fd0b19cf
|
Fix a bug in upstream CreateDelta that could ignore trailing data if a matching hash is not found for it
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
6d614a98ac
|
Get the test to pass
|
2023-07-30 19:49:40 +05:30 |
|
Kovid Goyal
|
26c22f0086
|
Work on creating tests for rsync api
|
2023-07-30 19:49:40 +05:30 |
|