From b28acd2d4d3e8a3a818ad636743d0bf98df058bf Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 2 Mar 2022 18:52:20 +0100 Subject: [PATCH] Reduce fn visibility --- runtime/src/snapshot_utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index d32d19c07d..3ec0876a92 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -1074,7 +1074,7 @@ fn archive_format_from_str(archive_format: &str) -> Option { } /// Parse a full snapshot archive filename into its Slot, Hash, and Archive Format -pub fn parse_full_snapshot_archive_filename( +pub(crate) fn parse_full_snapshot_archive_filename( archive_filename: &str, ) -> Result<(Slot, Hash, ArchiveFormat)> { lazy_static! { @@ -1105,7 +1105,7 @@ pub fn parse_full_snapshot_archive_filename( } /// Parse an incremental snapshot archive filename into its base Slot, actual Slot, Hash, and Archive Format -pub fn parse_incremental_snapshot_archive_filename( +pub(crate) fn parse_incremental_snapshot_archive_filename( archive_filename: &str, ) -> Result<(Slot, Slot, Hash, ArchiveFormat)> { lazy_static! {