package carton-git

  1. Overview
  2. Docs

Parameters

module Uid : sig ... end

Signature

val make : Store.t -> (Fpath.t, Lwt_unix.file_descr, Uid.t) Carton_git.t Lwt.t
val add : Store.t -> (Fpath.t, Lwt_unix.file_descr, Uid.t) Carton_git.t -> idx:Fpath.t -> Fpath.t -> (Lwt_unix.file_descr * int64, Store.error) Stdlib.result Lwt.t
val get : Store.t -> resources: ((Lwt_unix.file_descr * int64) -> ((Lwt_unix.file_descr * int64) Carton_git.buffers -> Carton.Dec.v Lwt.t) -> Carton.Dec.v Lwt.t) -> (Fpath.t, Lwt_unix.file_descr, Uid.t) Carton_git.t -> Uid.t -> (Carton.Dec.v, [> `Msg of string | `Not_found of Uid.t ]) Stdlib.result Lwt.t
val list : Store.t -> (Fpath.t, Lwt_unix.file_descr, Uid.t) Carton_git.t -> Uid.t list
val fds : (Fpath.t, Lwt_unix.file_descr, Uid.t) Carton_git.t -> (Lwt_unix.file_descr * int64) list
OCaml

Innovation. Community. Security.