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.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