drom_lib

The drom tool is a wrapper over opam/dune in an attempt to provide a cargo-like user experience
Module Drom_lib . Hashes
type t = {
mutable hashes : string EzCompat.StringMap.t;
mutable modified : bool;
mutable files : (bool * string * string * int) list;
mutable to_add : EzCompat.StringSet.t;
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