Skip to main content

scratch_path

Function scratch_path 

Source
fn scratch_path(path: &Path) -> PathBuf
Expand description

Where path’s replacement is built: <name>.tmp in the same directory, so the rename that finishes it never crosses a filesystem.