AppendVec cleanup: remove dead code, rename non-idiomatic "new" function
This commit is contained in:
@@ -271,11 +271,10 @@ pub fn archive_snapshot_package(snapshot_package: &AccountsPackage) -> Result<()
|
||||
for storage in snapshot_package.storages.iter().flatten() {
|
||||
storage.flush()?;
|
||||
let storage_path = storage.get_path();
|
||||
let output_path =
|
||||
staging_accounts_dir.join(crate::append_vec::AppendVec::new_relative_path(
|
||||
storage.slot(),
|
||||
storage.append_vec_id(),
|
||||
));
|
||||
let output_path = staging_accounts_dir.join(crate::append_vec::AppendVec::file_name(
|
||||
storage.slot(),
|
||||
storage.append_vec_id(),
|
||||
));
|
||||
|
||||
// `storage_path` - The file path where the AppendVec itself is located
|
||||
// `output_path` - The file path where the AppendVec will be placed in the staging directory.
|
||||
|
Reference in New Issue
Block a user