Skip to main content

require_clean

Function require_clean 

Source
pub fn require_clean(dir: &Path) -> Result<(), Refusal>
Expand description

Refuses when the working tree has any uncommitted change (for in-place mode).