Retrieves a specific catalog by name, provided it exists.
(&self, name: &str)
| 287 | |
| 288 | /// Retrieves a specific catalog by name, provided it exists. |
| 289 | fn catalog(&self, name: &str) -> Option<Arc<dyn CatalogProvider>> { |
| 290 | let cats = self.catalogs.read().unwrap(); |
| 291 | cats.get(name).cloned() |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | fn prepare_example_data() -> Result<TempDir> { |
no test coverage detected