Skip to main content

restore_default_vault

Function restore_default_vault 

Source
pub fn restore_default_vault(
    input: impl AsRef<Path>,
    overwrite: bool,
) -> Result<VaultBackupManifest, Error>
Expand description

Restores the default local vault from an encrypted backup archive.

The archive checksum is verified before the existing vault file is replaced.