solana_runtime::snapshot_utils

Function get_highest_full_snapshot_archive_info

Source
pub fn get_highest_full_snapshot_archive_info(
    full_snapshot_archives_dir: impl AsRef<Path>,
) -> Option<FullSnapshotArchiveInfo>
Expand description

Get the path (and metadata) for the full snapshot archive with the highest slot in a directory