package git-kv

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

Dune Dependency

Authors

Maintainers

Sources

git-kv-0.2.0.tbz
sha256=40de3010d82dd8e9229e7df09c0a649e81efd47e991ef6eb31ee0c713dfe400d
sha512=fe70e3d1ad0f2a07dfd594ea87b4a4fcc1fe5633ced537206e61d566a2f97061dd0b348b1e93b8de1196af5878f307b7a3f595b1b51b25da89ee918328b977d9

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
OCaml

Innovation. Community. Security.