package carton-git

  1. Overview
  2. Docs
Implementation of PACK file in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

carton-carton-v0.2.0.tbz
sha256=1672dc1262fe2b1fce03ab9e71e2767258ffbd284f3326e304a4a49b14d1d63d
sha512=be87e266a25c222a9e8214acf175289beaddc15670e54631733baf181ae80657d0553be1d793f686915a6aefdba0d69baf191bab860d8fd6db770f19b353bb39

doc/carton-git.unix/Carton_git_unix/Store/index.html

Module Carton_git_unix.Store

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 = Fpath.t
type uid = Fpath.t
type 'a fd = Lwt_unix.file_descr
type error = [
  1. | `Not_found of Fpath.t
]
type +'a fiber = 'a Lwt.t
val pp_error : error Fmt.t
val create : 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.