package git-unix

  1. Overview
  2. Docs
type t = head_contents
type init = Cstruct.t
type error = Git.Error.Decoder.t
val pp_error : error Fmt.t
val to_result : Cstruct.t -> (t, error) result
val default : init -> decoder
val eval : decoder -> [ `Await of decoder | `End of Cstruct.t * t | `Error of Cstruct.t * error ]
val refill : Cstruct.t -> decoder -> (decoder, error) result
val finish : decoder -> decoder
OCaml

Innovation. Community. Security.