Skip to main content

read_manifest

Function read_manifest 

Source
pub fn read_manifest(backup_dir: &Path) -> Result<Option<BackupManifest>>
Expand description

Reads the backup manifest from a backup directory.

Returns None if no manifest exists.

ยงErrors

Returns an error if the manifest file exists but cannot be read or parsed.