restore_file_bytes

Function restore_file_bytes 

Source
pub fn restore_file_bytes(
    target_path: &Path,
    backup: &Path,
    mode_octal: Option<u32>,
) -> Result<()>
Expand description

Restore file bytes by renaming the backup payload and restoring mode if provided.

ยงErrors

Returns an IO error if the restore operation fails.