module Hash : sig ... end
module Mapper : sig ... end
module Inflate : sig ... end
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) option
val update_idx : (Hash.t -> (Checkseum.Crc32.t * int64) option) -> pack -> pack
val 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.t
module Diff : sig ... end
module Patch : sig ... end
module Base : sig ... end
module Object : sig ... end
module Cache : sig ... end
module Ascendant : sig ... end
module Descendant : sig ... end