package git-kv

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-kv-0.2.2.tbz
sha256=6d1e7fe304db9672a86497b57f71af31d97a725ccca77c6f40a461ca3d1929fe
sha512=a9c4d4a4605ad9c97e317be5ee6e07ab610ec4c2a2a56fab7ef000ab61f44b135d538c771fabe7434d19302bb2f433df80279fa87c97bfb1961a2d6e1759240e

doc/git-kv.sync/Git_sync/index.html

Module Git_syncSource

Sourceval src : Logs.src
Sourceval (<.>) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
module SHA1 = Digestif.SHA1
Sourcetype error = [
  1. | `Exn of exn
  2. | `Git_store of Git_store.error
  3. | Mimic.error
]
Sourceval pp_error : Format.formatter -> [< `Cycle | `Exn of exn | `Git_store of [< `Msg of string | `Not_found of Git_store.SHA1.t | `Reference_not_found of string ] | `Invalid_flow | `Msg of string | `Not_found ] -> unit
Sourceval (>>?) : ('a, 'b) result Lwt.t -> ('a -> ('c, 'b) result Lwt.t) -> ('c, 'b) result Lwt.t
Sourceval fetch : ?push_stdout:??? -> ?push_stderr:??? -> ?threads:??? -> ctx:Mimic.ctx -> Git_store.Endpoint.t -> Git_store.t -> ?version:??? -> ?capabilities:??? -> ?deepen:??? -> [< `All | `None | `Some of (Git_store.Reference.Map.key * String.t) list ] -> ((string * (Git_store.Reference.Map.key * Git_store.Reference.SHA1.t) list) option, [> `Cycle | `Exn of exn | `Msg of string | `Not_found ]) result Lwt.t
Sourceval push : ctx:Mimic.ctx -> Git_store.Endpoint.t -> Git_store.t -> ?version:??? -> ?capabilities:??? -> [< `Create of String.t | `Delete of String.t | `Update of String.t * String.t ] list -> (unit, [> `Cycle | `Exn of exn | `Msg of string | `Not_found ]) result Lwt.t