package git

  1. Overview
  2. Docs
include Smart_git.APPEND with type +'a fiber = 'a Lwt.t
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 Lwt.t
val pp_error : error Fmt.t
val create : mode:'a mode -> t -> uid -> ('a fd, error) Stdlib.result fiber
val map : t -> 'm rd fd -> pos:int64 -> int -> Bigstringaf.t fiber
val append : t -> 'm wr fd -> string -> unit fiber
val move : t -> src:uid -> dst:uid -> (unit, error) Stdlib.result fiber
val close : t -> 'm fd -> (unit, error) Stdlib.result fiber
val device : unit -> t
val key : t -> uid
val project : t -> uid -> Cstruct.t
OCaml

Innovation. Community. Security.