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.mem/Git_store/index.html

Module Git_storeSource

module SHA1 = Digestif.SHA1
Sourcemodule Reference : sig ... end
Sourcemodule Commit : sig ... end
Sourcemodule Tree : sig ... end
Sourcemodule Blob : sig ... end
Sourcemodule Tag : sig ... end
Sourcemodule Object : sig ... end
Sourcemodule User : sig ... end
Sourcemodule Endpoint : sig ... end
Sourceval src : Logs.src
Sourcetype t = {
  1. values : (SHA1.t, Git_store__.Git_object.t) Hashtbl.t;
  2. refs : (string, [ `H of SHA1.t | `R of string ]) Hashtbl.t;
  3. shallows : Git_store__.Git_shallow.t;
  4. root : Fpath.t;
  5. mutable head : Git_store__.Git_reference.contents option;
}
Sourceval read_exn : t -> SHA1.t -> Git_store__.Git_object.t
Sourceval is_shallowed : t -> SHA1.t -> bool Lwt.t
Sourceval shallowed : t -> Git_store__.Git_shallow.SHA1.t list Lwt.t
Sourceval shallow : t -> Git_store__.Git_shallow.SHA1.t -> unit Lwt.t
Sourceval unshallow : t -> SHA1.t -> unit Lwt.t
Sourceval read : t -> SHA1.t -> (Git_store__.Git_object.t, [> `Not_found of SHA1.t ]) result
Sourceval write : t -> Git_store__.Git_object.t -> (Git_store__.Git_object.SHA1.t, 'a) result
Sourceval v : Fpath.t -> (t, 'a) result Lwt.t
Sourcemodule Traverse : sig ... end
Sourceval fold : t -> ('a -> ?name:Fpath.t -> length:int64 -> Digestif.SHA1.t -> Git_store__.Git_object.t -> 'a Lwt.t) -> path:Fpath.t -> 'a -> Digestif.SHA1.t -> 'a Lwt.t
Sourceval iter : t -> (Digestif.SHA1.t -> Git_store__.Git_object.t -> unit Lwt.t) -> Digestif.SHA1.t -> unit Lwt.t
Sourcemodule Ref : sig ... end
Sourcetype error = [
  1. | `Not_found of SHA1.t
  2. | `Reference_not_found of string
  3. | `Msg of string
]
Sourceval pp_error : Format.formatter -> [< `Msg of string | `Not_found of SHA1.t | `Reference_not_found of string ] -> unit