Skip to main content

check_snapshot_destination

Function check_snapshot_destination 

Source
pub fn check_snapshot_destination(dir: &Path) -> Result<()>
Expand description

Checks that dir can receive a new snapshot. The destination must not exist yet, so existing data is never overwritten or deleted.