package git

  1. Overview
  2. Docs
Git format and protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.2.0.tbz
sha256=2648d6a45263164936aeb4f61c1ffcb6078135626a317f400156ec62033c3893
sha512=fa19fe952331a50ad75b1a16193c46e3de2950c537e54b9e9d167b03502616bee10e36d8a114365645a8e4032b78a58d0567692106e9d6fb69f17b9964ebc3cb

doc/git.loose-lwt/Loose_lwt/Make/index.html

Module Loose_lwt.Make

Parameters

module Uid : Loose.UID

Signature

val exists : 't -> ('t, Uid.t, _, lwt) Loose.store -> Uid.t -> bool Lwt.t
val atomic_add : 't -> Loose.buffers -> ('t, Uid.t, 'error, lwt) Loose.store -> hdr:(buffer:Cstruct.t -> Carton.Dec.v -> Cstruct.t) -> Carton.Dec.v -> (Uid.t * int, [> `Store of 'error | `Non_atomic ]) result Lwt.t
val add : 't -> Loose.buffers -> ('t, Uid.t, 'error, lwt) Loose.store -> hdr:Cstruct.t -> (unit -> string option Lwt.t) -> (Uid.t * int, [> `Store of 'error ]) result Lwt.t
val atomic_get : 't -> Loose.buffers -> ('t, Uid.t, 'error, lwt) Loose.store -> hdr:(Cstruct.t -> Cstruct.t * Loose.kind * int64) -> Uid.t -> (Carton.Dec.v, [> `Non_atomic ]) result Lwt.t
val size_and_kind : 't -> Loose.buffers -> ('t, Uid.t, 'error, lwt) Loose.store -> hdr:(Cstruct.t -> Cstruct.t * Loose.kind * int64) -> Uid.t -> (int64 * Loose.kind, [> `Malformed ]) result Lwt.t
val get : 't -> Loose.buffers -> ('t, Uid.t, 'error, lwt) Loose.store -> hdr:(Cstruct.t -> Cstruct.t * Loose.kind * int64) -> Uid.t -> (Carton.Dec.v, [> `Msg of string ]) result Lwt.t
OCaml

Innovation. Community. Security.