Differential file synchronization over http
This release focus on moving functionality from the cli tool (bita) to the library (bitar). Also tidy up the library interface, mainly around clone related functionality. This to simplify for 3rd party applications to integrate bitar and also allow for more code reuse between tool(s) and library (see related issue #13).
Fix building without default-tls backend. To build with only rustls as tls backend use:
cargo build --no-default-features --features rustls-tls
--buffered-chunks <COUNT>
.rustls-tls
).clone
command can now use the output file as seed (using --seed-output
). If so the output file is first scanned for chunks matching the archive, then found chunks are reorganized in place in the output file. After this other given seeds are processed and finally, if any chunks are still missing, they are now fetched from remote. This also let us avoid write operations when a chunk is already in place in the output.diff
for displaying difference/similarities in data between two filesclone
sub-command improvements:
--verify-output
parameter--http-retry-count
- Set number of retries on http error--http-retry-delay
- Set time to wait between retries--http-timeout
- Set http transfer/connection timeout