Module librsync::whole

source ·
Expand description

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

  • Generates a delta between a signature and a new file streams.
  • Applies a patch, relative to a basis, into an output stream.
  • Generates the signature of a basis input, by using default settings.
  • Generates the signature of a basis input, and writes it out to an output stream.