package git-unix

  1. Overview
  2. Docs
val digest_size : int
type ctx = Store.Hash.ctx
type kind = Store.Hash.kind
type t = Store.Hash.t
val kind : kind
val empty : ctx
val init : unit -> ctx
val feed_bytes : ctx -> ?off:int -> ?len:int -> Stdlib.Bytes.t -> ctx
val feed_string : ctx -> ?off:int -> ?len:int -> Stdlib.String.t -> ctx
val feed_bigstring : ctx -> ?off:int -> ?len:int -> Digestif.bigstring -> ctx
val feedi_bytes : ctx -> Stdlib.Bytes.t Digestif.iter -> ctx
val feedi_string : ctx -> Stdlib.String.t Digestif.iter -> ctx
val feedi_bigstring : ctx -> Digestif.bigstring Digestif.iter -> ctx
val get : ctx -> t
val digest_bytes : ?off:int -> ?len:int -> Stdlib.Bytes.t -> t
val digest_string : ?off:int -> ?len:int -> Stdlib.String.t -> t
val digest_bigstring : ?off:int -> ?len:int -> Digestif.bigstring -> t
val digesti_bytes : Stdlib.Bytes.t Digestif.iter -> t
val digesti_string : Stdlib.String.t Digestif.iter -> t
val digesti_bigstring : Digestif.bigstring Digestif.iter -> t
val digestv_bytes : Stdlib.Bytes.t list -> t
val digestv_string : Stdlib.String.t list -> t
val digestv_bigstring : Digestif.bigstring list -> t
val hmac_bytes : key:Stdlib.Bytes.t -> ?off:int -> ?len:int -> Stdlib.Bytes.t -> t
val hmac_string : key:Stdlib.String.t -> ?off:int -> ?len:int -> Stdlib.String.t -> t
val hmac_bigstring : key:Digestif.bigstring -> ?off:int -> ?len:int -> Digestif.bigstring -> t
val hmaci_bytes : key:Stdlib.Bytes.t -> Stdlib.Bytes.t Digestif.iter -> t
val hmaci_string : key:Stdlib.String.t -> Stdlib.String.t Digestif.iter -> t
val hmaci_bigstring : key:Digestif.bigstring -> Digestif.bigstring Digestif.iter -> t
val hmacv_bytes : key:Stdlib.Bytes.t -> Stdlib.Bytes.t list -> t
val hmacv_string : key:Stdlib.String.t -> Stdlib.String.t list -> t
val hmacv_bigstring : key:Digestif.bigstring -> Digestif.bigstring list -> t
val unsafe_compare : t Digestif.compare
val pp : t Digestif.pp
val of_hex : string -> t
val of_hex_opt : string -> t option
val consistent_of_hex : string -> t
val consistent_of_hex_opt : string -> t option
val to_hex : t -> string
val of_raw_string : string -> t
val of_raw_string_opt : string -> t option
val to_raw_string : t -> string
val feed_cstruct : ctx -> Cstruct.t -> ctx
val compare : t -> t -> int
val hash : t -> int
val equal : t -> t -> bool
val read : t -> int -> int
module Set : sig ... end
module Map : sig ... end
OCaml

Innovation. Community. Security.