Module Packed_refs.Make

Parameters

module H : sig ... end
module FS : sig ... end

Signature

type t = [ `Peeled of H.t | `Ref of string * H.t ] list
module A : sig ... end
module M : sig ... end
module D : sig ... end
module E : sig ... end
type error = [
| Error.Decoder.t
| FS.error Error.FS.t
]
val pp_error : error Fmt.t
val write : fs:FS.t -> root:Fpath.t -> temp_dir:Fpath.t -> etmp:Cstruct.t -> raw:Cstruct.t -> t -> (unit, error) Stdlib.result Lwt.t
val read : fs:FS.t -> root:Fpath.t -> dtmp:Cstruct.t -> raw:Cstruct.t -> (terror) Stdlib.result Lwt.t