package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = [
  1. | `Decoder of info
  2. | `Result of Cstruct.t * string
  3. | `Decoder_stream of Cstruct.t * info
  4. | `Decoder_file of Fpath.t * info
]
and info = {
  1. committed : int;
  2. path : string list;
  3. error : string;
}
val pp_error : Format.formatter -> [< `Decoder of info | `Decoder_file of Fpath.t * info | `Decoder_stream of Cstruct.t * info | `Result of Cstruct.t * string ] -> unit
val err_decode : (int * string list * string) -> [> `Decoder of info ]
val err_result : 'a -> 'b -> [> `Result of 'a * 'b ]
val err_decode_stream : 'a -> (int * string list * string) -> [> `Decoder_stream of 'a * info ]
val err_decode_file : 'a -> (int * string list * string) -> [> `Decoder_file of 'a * info ]
val with_path : 'a -> [< `Decoder of 'b | `Decoder_file of 'a * 'c | `Decoder_stream of 'd * 'c | `Result of 'e ] -> [> `Decoder_file of 'a * 'c ]