include D with module Hash := Hash with module Mapper := Mapper with module Inflate := Inflate
type error = | Invalid_hash of Hash.t | Appears when the user requested a wrong hash. |
| Invalid_offset of int64 | Appears when the given offset is not available inside the PACK file. |
| Invalid_target of int * int | Appears when the result of the application of a |
| Unpack_error of Pack.t * Window.t * Pack.error | Appears when we have an |
| Mapper_error of Mapper.error |
The type error.
val idx : pack -> Hash.t -> (Checkseum.Crc32.t * int64) optionval update_idx : (Hash.t -> (Checkseum.Crc32.t * int64) option) -> pack -> packval make : ?bucket:int -> Mapper.fd -> (Hash.t -> (Checkseum.Crc32.t * int64) option) -> (Hash.t -> (kind * Cstruct.t) option Lwt.t) -> (pack, Mapper.error) Stdlib.result Lwt.tmodule Diff : sig ... endmodule Patch : sig ... endmodule Base : sig ... endmodule Object : sig ... endmodule Cache : sig ... endmodule Ascendant : sig ... endmodule Descendant : sig ... end