(&'a self, baseline: &'a str)
| 74 | |
| 75 | impl RecordLifecycle { |
| 76 | pub(super) fn target_view<'a>(&'a self, baseline: &'a str) -> &'a str { |
| 77 | match self { |
| 78 | Self::Durable | Self::Promotion { .. } => baseline, |
| 79 | Self::Snapshot { view, .. } => view, |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | pub(super) fn removal(&self) -> Option<(&str, Hash)> { |
| 84 | match self { |
no outgoing calls
no test coverage detected