package git-kv

  1. Overview
  2. Docs

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
OCaml

Innovation. Community. Security.