pub fn check_snapshot_destination(dir: &Path) -> Result<()>
Checks that dir can receive a new snapshot. The destination must not exist yet, so existing data is never overwritten or deleted.
dir