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.search/Git_search/index.html

Module Git_searchSource

module SHA1 = Digestif.SHA1
Sourcemodule Log : sig ... end
Sourcetype pred = [
  1. | `Commit of SHA1.t
  2. | `Tag of string * SHA1.t
  3. | `Tree of string * SHA1.t * Git_store.Tree.perm
  4. | `Tree_root of SHA1.t
]
Sourceval pred : Git_store.t -> SHA1.t -> [> `Commit of Digestif.SHA1.t | `Tag of string * Git_store.Tag.SHA1.t | `Tree of string * Digestif.SHA1.t * Git_store.Tree.perm | `Tree_root of Digestif.SHA1.t ] list Lwt.t
Sourcetype path = [
  1. | `Tag of string * path
  2. | `Commit of path
  3. | `Path of string list
]
Sourceval find_tree_root : pred list -> SHA1.t option
Sourceval find_tag : 'a -> [> `Tag of 'a * 'b ] list -> 'b option
Sourceval find_tree : 'a -> [> `Tree of 'a * 'b * 'c ] list -> ('b * 'c) option
Sourceval find : Git_store.t -> SHA1.t -> ([< `Commit of 'a | `Path of string list | `Tag of string * 'a Path ] as 'a) -> (Git_store.Tree.perm * SHA1.t) option Lwt.t
Sourceval mem : Git_store.t -> SHA1.t -> ([< `Commit of 'a | `Path of string list | `Tag of string * 'a Path ] as 'a) -> bool Lwt.t