package carton-git

  1. Overview
  2. Docs
type 'a rd = < rd : unit.. > as 'a
type 'a wr = < wr : unit.. > as 'a
type 'a mode =
  1. | Rd : < rd : unit > mode
  2. | Wr : < wr : unit > mode
  3. | RdWr : < rd : unit ; wr : unit > mode
type t
type uid
type 'a fd
type error
type +'a fiber = 'a Scheduler.s
val pp_error : error Fmt.t
val create : ?trunc:bool -> mode:'a mode -> t -> uid -> ('a fd, error) result fiber
val map : t -> 'm rd fd -> pos:int64 -> int -> Bigstringaf.t
val close : t -> 'm fd -> (unit, error) result fiber
val list : t -> uid list fiber
val length : 'm fd -> int64 fiber
OCaml

Innovation. Community. Security.