package git-kv

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

Dune Dependency

Authors

Maintainers

Sources

git-kv-0.2.0.tbz
sha256=40de3010d82dd8e9229e7df09c0a649e81efd47e991ef6eb31ee0c713dfe400d
sha512=fe70e3d1ad0f2a07dfd594ea87b4a4fcc1fe5633ced537206e61d566a2f97061dd0b348b1e93b8de1196af5878f307b7a3f595b1b51b25da89ee918328b977d9

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
OCaml

Innovation. Community. Security.