Add SnapshotArchiveInfo and refactor functions in snapshot_utils (#18232)
This commit is contained in:
@@ -259,9 +259,10 @@ pub fn download_snapshot<'a, 'b>(
|
||||
ArchiveFormat::TarGzip,
|
||||
ArchiveFormat::TarBzip2,
|
||||
] {
|
||||
let desired_snapshot_package = snapshot_utils::get_snapshot_archive_path(
|
||||
let desired_snapshot_package = snapshot_utils::build_snapshot_archive_path(
|
||||
snapshot_output_dir.to_path_buf(),
|
||||
&desired_snapshot_hash,
|
||||
desired_snapshot_hash.0,
|
||||
&desired_snapshot_hash.1,
|
||||
*compression,
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user