package mgit

  1. Overview
  2. Docs

Module Mgit_object.TreeSource

Sourcetype perm = [
  1. | `Normal
  2. | `Exec
  3. | `Everybody
  4. | `Dir
  5. | `Commit
]
Sourcetype entry = {
  1. perm : perm;
  2. name : string;
  3. node : Carton.Uid.t;
}
Sourcetype t
Sourceval empty : t
Sourceval v : entry list -> t
Sourceval to_list : t -> entry list
Sourceval is_empty : t -> bool
Sourceval find : t -> string -> entry option
Sourceval add : t -> entry -> t
Sourceval remove : t -> string -> t
Sourceval uids : t -> Carton.Uid.t list
Sourceval of_string : string -> (t, [> error ]) result
Sourceval to_string : t -> string
Sourceval digest : t -> Carton.Uid.t