[][src]Function exclude_from_backups::exclude_from_backups

pub fn exclude_from_backups<P: AsRef<Path>>(_path: P) -> Result<(), Error>

Marks given path as excluded from backups

On macOS excluded paths are marked using xattr, so if the file/dir is deleted, the mark will be gone as well.