Refactor bank_forks_utils::load() and some snapshot logic (#17492)
Refactor a few functions that are on the load-from-snapshot path, to facilitate adding in incremental snapshots more easily. Additionally, add some tests and doc comments.
This commit is contained in:
@@ -190,7 +190,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
// Map from AppendVec file name to unpacked file system location
|
||||
/// Map from AppendVec file name to unpacked file system location
|
||||
pub type UnpackedAppendVecMap = HashMap<String, PathBuf>;
|
||||
|
||||
pub fn unpack_snapshot<A: Read>(
|
||||
|
Reference in New Issue
Block a user