package git-kv

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-kv-0.2.1.tbz
sha256=dc8669aa66f44f8423ced576911ec6bce1943565a99c1a6c6aa67e19db428a90
sha512=0ed3ccb5f352da278d247c11551c6eedcf29897f090a11684005c44d8e4f6a93bfc2fe78e3236a1c5f9e174d12c03bd8d0ace1a8e91ab03c26ba263df10a8442

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