Resolve the latest manifest hash for an external session ID.
(&self, session_id: &str)
| 363 | |
| 364 | /// Resolve the latest manifest hash for an external session ID. |
| 365 | pub fn get_session_head(&self, session_id: &str) -> Result<Option<Hash>, RepositoryError> { |
| 366 | let txn = self |
| 367 | .pristine |
| 368 | .read_txn() |
| 369 | .map_err(|e| RepositoryError::Database(e.to_string()))?; |
| 370 | txn.get_session_head(session_id) |
| 371 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 372 | } |
| 373 | |
| 374 | /// Store a session manifest received from another repository. |
| 375 | /// |
no test coverage detected