package git-kv

  1. Overview
  2. Docs

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.