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

Module Git_store.ObjectSource

module SHA1 = Digestif.SHA1
Sourcetype t =
  1. | Blob of Bstr.t
  2. | Commit of Git_store__.Git_commit.t
  3. | Tree of Git_store__.Git_tree.entry list
  4. | Tag of Git_store__.Git_tag.t
Sourceval digest : t -> SHA1.t
Sourceval to_bstr : t -> Bstr.t
Sourcetype with_parser = [
  1. | `Commit
  2. | `Tree
  3. | `Tag
]
Sourceval of_bstr : kind:[< `Blob | `Commit | `Tag | `Tree ] -> Bstr.t -> (t, [> `Msg of string ]) result
Sourceval length : t -> int64