yocaml
Yocaml.Trace
Describes a set of (unique) files. Used to apply diffs and delete files that have not been created.
type t
val empty : t
Creates an empty trace.
val add : Path.t -> t -> t
Add a path to the trace.
val from_list : Path.t list -> t
Creates a trace from a list of path.
val diff : target:t -> t -> Path.t list
File diff into a list.
val from_directory : on:Eff.filesystem -> Path.t -> t Eff.t
Compute a trace from a directory.
val equal : t -> t -> bool
Equality between traces.
val pp : Format.formatter -> t -> unit
Pretty printer for traces.