Skip to main content

ensure_clean

Function ensure_clean 

Source
pub fn ensure_clean(repo: &Path, rel_crate: &str) -> Result<()>
Expand description

The crate directory must have no uncommitted changes before we start, so the index checkpoint begins at a known-clean baseline and a revert is safe.