package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module D : DECODER
module FS : sig ... end

Signature

type error = [
  1. | `Decoder of D.error
  2. | FS.error Error.FS.t
]
val of_file : FS.t -> Fpath.t -> Cstruct.t -> D.decoder -> (D.t, error) result Lwt.t

of_file t f tmp state decodes from the file f a value using state and tmp as intermediary buffer.