Module Yocaml.TraceSource

Describes a set of (unique) files. Used to apply diffs and delete files that have not been created.

Sourcetype t
Sourceval empty : t

Creates an empty trace.

Sourceval add : Path.t -> t -> t

Add a path to the trace.

Sourceval from_list : Path.t list -> t

Creates a trace from a list of path.

Sourceval diff : target:t -> t -> Path.t list

File diff into a list.

Sourceval from_directory : on:Eff.filesystem -> Path.t -> t Eff.t

Compute a trace from a directory.

Sourceval equal : t -> t -> bool

Equality between traces.

Sourceval pp : Format.formatter -> t -> unit

Pretty printer for traces.