(&self)
| 40 | } |
| 41 | |
| 42 | fn store(&self) -> Result<atomic_repository::redb_change_store::RedbChangeStore, String> { |
| 43 | atomic_repository::redb_change_store::RedbChangeStore::open_existing_wait( |
| 44 | &self.root, |
| 45 | super::state::database_open_wait(), |
| 46 | ) |
| 47 | .map_err(|error| format!("failed to open {}: {error}", self.root.display())) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | fn to_store_stop_cause(cause: JournalStopCause) -> StopCause { |
no test coverage detected