package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type base = {
  1. kind : kind;
  2. length : int;
  3. consumed : int;
  4. offset : int64;
  5. hash : Hash.t;
  6. crc : Checkseum.Crc32.t;
}
type patch = {
  1. length : int;
  2. consumed : int;
  3. inserts : int;
  4. offset : int64;
  5. crc : Checkseum.Crc32.t;
  6. hash : Hash.t;
  7. descr : HDec.hunks;
}
type t =
  1. | Root of {
    1. base : base;
    2. children : node list;
    }
and node =
  1. | Node of {
    1. patch : patch;
    2. children : node list;
    }
  2. | Leaf of patch
val get_from_absolute_offset : ztmp:Cstruct.t -> zwin:Inflate.window -> cache: ((int64, int) Cache.t * (int64, kind * Cstruct.t * int * Ascendant.s) Cache.t) -> ?chunk:int -> children:((int64 * Hash.t) -> int64 list) -> Cstruct.t -> pack -> int64 -> (t, error) result Lwt.t