package drom_lib

  1. Overview
  2. Docs
type t = {
  1. mutable hashes : string EzCompat.StringMap.t;
  2. mutable modified : bool;
  3. mutable files : (bool * string * string * int) list;
  4. mutable to_add : EzCompat.StringSet.t;
  5. mutable to_remove : EzCompat.StringSet.t;
  6. mutable skel_version : string option;
}
val load : unit -> t
val write : t -> record:bool -> perm:int -> string -> string -> unit
val get : t -> EzCompat.StringMap.key -> string
val update : ?git:bool -> t -> EzCompat.StringMap.key -> string -> unit
val remove : t -> EzCompat.StringMap.key -> unit
val rename : t -> EzCompat.StringMap.key -> EzCompat.StringMap.key -> unit
val perm_equal : int -> int -> bool
val digest_content : ?perm:int -> file:string -> string -> Stdlib.Digest.t
val digest_file : string -> file:string -> Stdlib.Digest.t
val save : ?git:bool -> t -> unit
val with_ctxt : ?git:bool -> (t -> 'a) -> 'a
OCaml

Innovation. Community. Security.