package git-unix

  1. Overview
  2. Docs
type fd
type error = error
type t = t
val pp_error : error Fmt.t
val openfile : t -> Fpath.t -> (fd, error) Stdlib.result Lwt.t
val length : fd -> (int64, error) Stdlib.result Lwt.t
val map : fd -> ?pos:int64 -> int -> (Cstruct.t, error) Stdlib.result Lwt.t
val close : fd -> (unit, error) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.