(&self, key: &'a str)
| 53 | } |
| 54 | |
| 55 | fn strip<'a>(&self, key: &'a str) -> Result<&'a str> { |
| 56 | key.strip_prefix(&format!("{}/", self.prefix)) |
| 57 | .with_context(|| format!("storage key {key:?} missing workspace prefix {:?}", self.prefix)) |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | impl<R: OdbReader> PrefixedReader<'_, R> { |