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 -> Bytes.t -> ctx
val feed_string : ctx -> ?off:int -> ?len:int -> String.t -> ctx
val feed_bigstring : ctx -> ?off:int -> ?len:int -> Digestif.bigstring -> ctx
val feedi_bytes : ctx -> Bytes.t Digestif.iter -> ctx
val feedi_string : ctx -> 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 -> Bytes.t -> t
val digest_string : ?off:int -> ?len:int -> String.t -> t
val digest_bigstring : ?off:int -> ?len:int -> Digestif.bigstring -> t
val digesti_bytes : Bytes.t Digestif.iter -> t
val digesti_string : String.t Digestif.iter -> t
val digesti_bigstring : Digestif.bigstring Digestif.iter -> t
val digestv_bytes : Bytes.t list -> t
val digestv_string : String.t list -> t
val digestv_bigstring : Digestif.bigstring list -> t
val hmac_bytes : key:Bytes.t -> ?off:int -> ?len:int -> Bytes.t -> t
val hmac_string : key:String.t -> ?off:int -> ?len:int -> String.t -> t
val hmac_bigstring : key:Digestif.bigstring -> ?off:int -> ?len:int -> Digestif.bigstring -> t
val hmaci_bytes : key:Bytes.t -> Bytes.t Digestif.iter -> t
val hmaci_string : key:String.t -> String.t Digestif.iter -> t
val hmaci_bigstring : key:Digestif.bigstring -> Digestif.bigstring Digestif.iter -> t
val hmacv_bytes : key:Bytes.t -> Bytes.t list -> t
val hmacv_string : key:String.t -> 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.