Skip to main content

GateExpectations

Type Alias GateExpectations 

Source
pub type GateExpectations = HashMap<PathBuf, OverwriteExpectation>;
Expand description

What each snapshotted target must still look like when the caller writes it, keyed by resolved path (see overwrite_checked).

Every existing target the trash snapshotted appears. A new file, an append, and an excluded or unsnapshotted path are absent, because none of them has prior content to lose.

Aliased Typeยง

pub struct GateExpectations { /* private fields */ }