Module Duff

Rabin's fingerprint and diff algorithm.

module type VALUE = sig ... end

Common Value for libXdiff's algorithm.

module Index : functor (V : VALUE) -> sig ... end

Index module which represents an efficient hash-table associated to a Cstruct.t.

type t =
| Copy of int * int

It's the copy opcode to copy the byte range from the source to the target.

| Insert of int * int

It's the insert opcode to keep a specific byte range of the target.

The type of the compression.

val pp : t Fmt.t

Pretty-printer of t.

module Delta : functor (V : VALUE) -> sig ... end
module Default : sig ... end

A default application of Delta.