Skip to main content

cmd_clean

Function cmd_clean 

Source
pub fn cmd_clean(root: &Path, force: bool) -> Result<()>
Expand description

scc clean [--force] — remove the index database (.scc/scc.db, WAL/SHM sidecars) for the current repo so the next scc index is a clean cold build. Config and plugins are untouched. Without --force, prints the bytes to be freed and asks for confirmation.