Module 2-FS.Mapper

type fd
type error = error
type t = t
val pp_error : error Fmt.t
val openfile : t -> Fpath.t -> (fderror) Stdlib.result Lwt.t
val length : fd -> (int64, error) Stdlib.result Lwt.t
val map : fd -> ?⁠pos:int64 -> int -> (Cstruct.terror) Stdlib.result Lwt.t
val close : fd -> (unit, error) Stdlib.result Lwt.t