Module librsync::whole [] [src]

Process whole files in a single call.

Provides functions to compute signatures, delta and patches with a single call. Those functions are useful if the application prefers to process whole files instead of using fine-grained APIs over IO.

If fine-grained control over IO is necessary, it is provided by Signature, Delta and Patch structs.

Functions

delta

Generates a delta between a signature and a new file streams.

patch

Applies a patch, relative to a basis, into an output stream.

signature

Generates the signature of a basis input, by using default settings.

signature_with_options

Generates the signature of a basis input, and writes it out to an output stream.