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) list;
  4. mutable to_add : EzCompat.StringSet.t;
  5. mutable to_remove : EzCompat.StringSet.t;
}
val load : unit -> t
val write : t -> record:bool -> 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 digest_file : string -> Digest.t
val digest_string : string -> Digest.t
val save : ?git:bool -> t -> unit
val with_ctxt : ?git:bool -> (t -> 'a) -> 'b
OCaml

Innovation. Community. Security.