Function solana_runtime::snapshot_utils::add_snapshot [−][src]
pub fn add_snapshot<P: AsRef<Path>>(
snapshot_path: P,
bank: &Bank,
snapshot_storages: &[SnapshotStorage],
snapshot_version: SnapshotVersion
) -> Result<SlotSnapshotPaths>