Permit the snapshots/status_cache file to be sparse
This commit is contained in:
parent
fb3837260c
commit
1e2f5a5f55
|
@ -206,7 +206,9 @@ fn is_valid_snapshot_archive_entry(parts: &[&str], kind: tar::EntryType) -> bool
|
|||
(["accounts", file], GNUSparse) if like_storage(file) => true,
|
||||
(["accounts", file], Regular) if like_storage(file) => true,
|
||||
(["snapshots"], Directory) => true,
|
||||
(["snapshots", "status_cache"], GNUSparse) => true,
|
||||
(["snapshots", "status_cache"], Regular) => true,
|
||||
(["snapshots", dir, file], GNUSparse) if all_digits(dir) && all_digits(file) => true,
|
||||
(["snapshots", dir, file], Regular) if all_digits(dir) && all_digits(file) => true,
|
||||
(["snapshots", dir], Directory) if all_digits(dir) => true,
|
||||
_ => false,
|
||||
|
|
Loading…
Reference in New Issue