type delta =
| Unresolved of {
} | ||||
| Internal of {
} | ||||
| Delta of {
} |
val needed : delta -> int
type 'a t = {
index : (Hash.t, Checkseum.Crc32.t * int64 * int) Stdlib.Hashtbl.t; |
delta : (int64, delta) Stdlib.Hashtbl.t; |
hash_pack : Hash.t; |
state : 'a; |
} constraint 'a = [< `Pass | `Normalized of path | `Resolved of path ]
val first_pass : ztmp:Cstruct.t -> window:Inflate.window -> ?idx:(Hash.t -> (Checkseum.Crc32.t * int64) option) -> (unit -> Cstruct.t option Lwt.t) -> ([ `Normalized of path ] t, error) Stdlib.result Lwt.t