create_backup

Function create_backup 

Source
pub fn create_backup(file_path: &Path) -> Result<()>
Expand description

Creates a backup file by copying the original with a .bak extension

ยงErrors

Returns an error if the file copy operation fails