Skip to main content

backup_file

Function backup_file 

Source
pub fn backup_file(path: &Path) -> Result<Option<PathBuf>>
Expand description

Snapshot path to <path>.bak-spool-<ts>. Returns the backup path or None when the source file does not exist (fresh install).