Reduce fn visibility

This commit is contained in:
Michael Vines
2022-03-02 18:52:20 +01:00
parent 360f6466a3
commit b28acd2d4d

View File

@ -1074,7 +1074,7 @@ fn archive_format_from_str(archive_format: &str) -> Option<ArchiveFormat> {
} }
/// Parse a full snapshot archive filename into its Slot, Hash, and Archive Format /// 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, archive_filename: &str,
) -> Result<(Slot, Hash, ArchiveFormat)> { ) -> Result<(Slot, Hash, ArchiveFormat)> {
lazy_static! { 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 /// 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, archive_filename: &str,
) -> Result<(Slot, Slot, Hash, ArchiveFormat)> { ) -> Result<(Slot, Slot, Hash, ArchiveFormat)> {
lazy_static! { lazy_static! {