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/Loose/Make/index.html

Module Loose.Make

Parameters

module Uid : UID

Signature

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

Innovation. Community. Security.