package irmin-pack

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Pack_value.Of_commitSource

Parameters

module Key : Irmin.Key.S with type hash = Hash.t

Signature

include Irmin.Type.S with type t = Commit.t
Sourceval t : t Repr__.Type.t
Sourcetype hash = Hash.t
Sourcetype key = Key.t
Sourceval hash : t -> hash
Sourceval kind : t -> Kind.t
Sourceval length_header : Kind.t -> [ `Varint ] option

Describes the length header formats for the data sections of pack entries.

Sourceval encode_bin : dict:(string -> int option) -> offset_of_key:(key -> Optint.Int63.t option) -> hash -> t Irmin.Type.encode_bin
Sourceval decode_bin : dict:(int -> string option) -> key_of_offset:(Optint.Int63.t -> key) -> key_of_hash:(hash -> key) -> t Irmin.Type.decode_bin
Sourceval decode_bin_length : string -> int -> int
OCaml

Innovation. Community. Security.