clean_untracked

Function clean_untracked 

Source
fn clean_untracked(dir: &Path) -> Result<()>
Expand description

Removes untracked files from a directory using git ls-files, falling back to removing and recreating the directory when git is unavailable.