Load a provenance graph from the repository by hash.
(
&self,
hash: &Hash,
)
| 1517 | |
| 1518 | /// Load a provenance graph from the repository by hash. |
| 1519 | pub fn load_provenance_graph( |
| 1520 | &self, |
| 1521 | hash: &Hash, |
| 1522 | ) -> Result<atomic_core::change::ProvenanceGraph, RepositoryError> { |
| 1523 | self.change_store |
| 1524 | .load_provenance_graph(hash) |
| 1525 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 1526 | } |
| 1527 | |
| 1528 | /// Check if a provenance graph exists in the repository. |
| 1529 | pub fn has_provenance_graph(&self, hash: &Hash) -> bool { |
no outgoing calls