pub fn build_full_snapshot_archive_path(
    snapshot_archives_dir: PathBuf,
    slot: Slot,
    hash: &Hash,
    archive_format: ArchiveFormat,
) -> PathBuf {
    snapshot_archives_dir.join(format!(
        "snapshot-{}-{}.{}",
        slot,
        hash,
        get_archive_ext(archive_format),
    ))
}
/// Build the full snapshot archive path from its components: the snapshot archives directory, the
/// snapshot slot, the accounts hash, and the archive format.
Build the full snapshot archive path from its components: the snapshot archives directory, the
snapshot slot, the accounts hash, and the archive format.
Build the full snapshot archive path from its components : the snapshot archives directory the snapshot slot the accounts hash and the archive format .
pub fn build_full_snapshot_archive_path(
    snapshot_archives_dir: PathBuf,
    slot: Slot,
    hash: &Hash,
    archive_format: ArchiveFormat,
) -> PathBuf {
    snapshot_archives_dir.join(format!(
        "snapshot-{}-{}.{}",
        slot,
        hash,
        get_archive_ext(archive_format),
    ))
}
pub fn build_full_snapshot_archive_path ( snapshot_archives_dir : PathBuf , slot : Slot , hash : & Hash , archive_format : ArchiveFormat , ) -> PathBuf { snapshot_archives_dir . join ( format ! ( " " slot hash get_archive_ext ( archive_format ) ) ) }
Build the full snapshot archive path from its components: the snapshot archives directory, the
snapshot slot, the accounts hash, and the archive format.
Build the full snapshot archive path from its components : the snapshot archives directory the snapshot slot the accounts hash and the archive format .
snapshot_archives_dir
PathBuf
slot
Slot
hash
&Hash
archive_format
ArchiveFormat