mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-16 16:53:02 +00:00
Remove contains method from LayerMap API
This commit is contained in:
@@ -122,13 +122,6 @@ impl<L> BatchedUpdates<'_, L>
|
||||
where
|
||||
L: ?Sized + Layer,
|
||||
{
|
||||
///
|
||||
/// Check if layer map contains layers with specified key and LSN range
|
||||
///
|
||||
pub fn contains(&self, layer: Arc<L>) -> bool {
|
||||
self.layer_map.contains(layer)
|
||||
}
|
||||
|
||||
///
|
||||
/// Insert an on-disk layer.
|
||||
///
|
||||
@@ -275,14 +268,6 @@ where
|
||||
BatchedUpdates { layer_map: self }
|
||||
}
|
||||
|
||||
///
|
||||
/// Check if layer map contains layers with specified key and LSN range
|
||||
///
|
||||
pub fn contains(&self, layer: Arc<L>) -> bool {
|
||||
self.historic
|
||||
.contains(historic_layer_coverage::LayerKey::from(&*layer))
|
||||
}
|
||||
|
||||
///
|
||||
/// Insert an on-disk layer
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user