package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = [
  1. | Angstrom.t
  2. | `Too_big of int * int
  3. | `Malicious
  4. | `Chunk_too_big of Fpath.t * int * int
  5. | `Malicious_file of Fpath.t
]
val pp_error : Format.formatter -> [< `Chunk_too_big of Fpath.t * int * int | `Decoder of Angstrom.info | `Decoder_file of Fpath.t * Angstrom.info | `Decoder_stream of Cstruct.t * Angstrom.info | `Malicious | `Malicious_file of Fpath.t | `Result of Cstruct.t * string | `Too_big of int * int ] -> unit
val err_decode : (int * string list * string) -> [> `Decoder of Angstrom.info ]
val err_result : 'a -> 'b -> [> `Result of 'a * 'b ]
val err_too_big : 'a -> 'b -> [> `Too_big of 'a * 'b ]
val err_malicious : [> `Malicious ]
val with_path : Fpath.t -> [< `Chunk_too_big of Fpath.t * 'a * 'b | `Decoder of Angstrom.info | `Decoder_file of Fpath.t * Angstrom.info | `Decoder_stream of Cstruct.t * Angstrom.info | `Malicious | `Malicious_file of Fpath.t | `Result of Cstruct.t * string | `Too_big of 'a * 'b ] -> [> `Chunk_too_big of Fpath.t * 'a * 'b | `Decoder_file of Fpath.t * Angstrom.info | `Malicious_file of Fpath.t ]