package git-unix

  1. Overview
  2. Docs
type t = t
type init = Cstruct.t
type error = Git.Error.Decoder.t
type decoder
val pp_error : error Fmt.t
val to_result : Cstruct.t -> (t, error) Stdlib.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) Stdlib.result
val finish : decoder -> decoder
OCaml

Innovation. Community. Security.