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) result Lwt.t
val length : fd -> (int64, error) result Lwt.t
val map : fd -> ?pos:int64 -> int -> (Cstruct.t, error) result Lwt.t
val close : fd -> (unit, error) result Lwt.t
OCaml

Innovation. Community. Security.