diff --git a/pageserver/src/tenant/storage_layer.rs b/pageserver/src/tenant/storage_layer.rs index e6df0811be..845669dc21 100644 --- a/pageserver/src/tenant/storage_layer.rs +++ b/pageserver/src/tenant/storage_layer.rs @@ -1222,19 +1222,6 @@ impl std::fmt::Display for NeedsDownload { } } -impl NeedsDownload { - pub(crate) fn is_not_found(&self) -> bool { - matches!(self, NeedsDownload::NotFound) - } - - pub(crate) fn actual_size(&self) -> Option { - match self { - NeedsDownload::WrongSize { actual, .. } => Some(*actual), - _ => None, - } - } -} - /// Holds both Arc requriring that both components stay resident while holding this alive and no evictions /// or garbage collection happens. #[derive(Clone)]