(&self)
| 205 | } |
| 206 | |
| 207 | pub fn get_current_version(&self) -> lmdb::Result<VersionNumber> { |
| 208 | let txn = self.env.begin_ro_txn()?; |
| 209 | let version = self.get_current_version_inner(&txn)?; |
| 210 | txn.abort(); |
| 211 | Ok(version) |
| 212 | } |
| 213 | |
| 214 | pub fn set_current_version_explicit( |
| 215 | &self, |
nothing calls this directly
no test coverage detected