package git-unix

  1. Overview
  2. Docs
type t = {
  1. length : int;
  2. consumed : int;
  3. offset : int64;
  4. crc : Checkseum.Crc32.t;
  5. hunks : Diff.t list;
  6. descr : HDec.hunks;
}
val get_from_absolute_offset : ztmp:Cstruct.t -> zwin:Inflate.window -> ?chunk:int -> ?htmp:Cstruct.t -> pack -> int64 -> (t, error) Stdlib.result Lwt.t
type s = {
  1. kind : kind;
  2. length : int;
  3. consumed : int;
  4. inserts : int;
  5. offset : int64;
  6. crc : Checkseum.Crc32.t;
  7. hash : Hash.t;
  8. raw : Cstruct.t;
  9. descr : HDec.hunks;
}
val apply_from_absolute_offset : ztmp:Cstruct.t -> zwin:Inflate.window -> ?chunk:int -> (kind * Cstruct.t) -> Cstruct.t -> pack -> int64 -> (s, error) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.