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;
}
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 perm_equal : int -> int -> bool
val digest_content : ?perm:int -> file:string -> string -> Digest.t
val digest_file : string -> file:string -> Digest.t
val save : ?git:bool -> t -> unit
val with_ctxt : ?git:bool -> (t -> 'a) -> 'b
OCaml

Innovation. Community. Security.