committed by
GitHub
parent
66abe45ea1
commit
5ed39de8c5
File diff suppressed because it is too large
Load Diff
@ -43,7 +43,7 @@ pub struct Index {
|
||||
#[derive(Clone, Debug, Default, Deserialize, Serialize, PartialEq)]
|
||||
pub struct ShredIndex {
|
||||
/// Map representing presence/absence of shreds
|
||||
index: BTreeSet<u64>,
|
||||
pub index: BTreeSet<u64>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, Deserialize, Serialize, Eq, PartialEq)]
|
||||
|
@ -206,6 +206,9 @@ fn is_valid_genesis_archive_entry(parts: &[&str], kind: tar::EntryType) -> bool
|
||||
(["rocksdb"], Directory) => true,
|
||||
(["rocksdb", ..], GNUSparse) => true,
|
||||
(["rocksdb", ..], Regular) => true,
|
||||
(["shreds", ..], Directory) => true,
|
||||
(["shreds", ..], GNUSparse) => true,
|
||||
(["shreds", ..], Regular) => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user