package git-kv

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-kv-0.2.3.tbz
sha256=f157c963642c427d5d4993109eeffebe1797ba149e0076afca07a2e589988bce
sha512=f2b6dc52c6e09bf2d9959b5eb8f8312441ff5f0e575416c5fd8794c46dea8b17e106cd874e9a5f07c4b362f6b15347467e8b49184293677795145c03a18f5eb7

doc/git-kv.mem/Git_store/Tree/index.html

Module Git_store.TreeSource

module SHA1 = Digestif.SHA1
Sourcetype perm = [
  1. | `Normal
  2. | `Everybody
  3. | `Exec
  4. | `Dir
  5. | `Commit
]
Sourceval string_of_perm : [< `Commit | `Dir | `Everybody | `Exec | `Link | `Normal ] -> string
Sourceval perm_of_string : string -> [> `Commit | `Dir | `Everybody | `Exec | `Link | `Normal ]
Sourceval equal_perm : [> `Commit | `Dir | `Everybody | `Exec | `Link | `Normal ] -> [> `Commit | `Dir | `Everybody | `Exec | `Link | `Normal ] -> bool
Sourcetype entry = {
  1. perm : perm;
  2. name : string;
  3. node : Digestif.SHA1.t;
}
Sourceval pp_entry : pp:Digestif.SHA1.t Fmt.t -> Format.formatter -> entry -> unit
Sourceval equal_entry : equal:(Digestif.SHA1.t -> Digestif.SHA1.t -> bool) -> entry -> entry -> bool
Sourcetype t = entry list
Sourcetype value =
  1. | Contents of string
  2. | Node of string
Sourceval (.![]) : value -> int -> char
Sourceval value_of_entry : entry -> value
Sourceval pp : Format.formatter -> entry list -> unit
Sourceval entry : name:string -> perm -> Digestif.SHA1.t -> entry
Sourceval v : entry list -> entry list
Sourceval remove : name:string -> entry list -> entry list
Sourceval add : entry -> entry list -> entry list
Sourceval is_empty : 'a list -> bool
Sourceval to_list : 'a -> 'a
Sourceval of_list : entry list -> entry list
Sourceval iter : ('a -> unit) -> 'a list -> unit
Sourceval hashes : entry list -> Digestif.SHA1.t list
Sourceval length : entry list -> int64
Sourcemodule Syntax : sig ... end
Sourceval format : entry list Encore.t
Sourceval digest : entry list -> Digestif.SHA1.t
Sourceval equal : 'a -> 'a -> bool
Sourceval compare : 'a -> 'a -> int
Sourceval hash : 'a -> int
Sourcemodule Set : sig ... end
Sourcemodule Map : sig ... end