Load a provenance graph from the repository by hash.
(
&self,
hash: &Hash,
)
| 1570 | |
| 1571 | /// Load a provenance graph from the repository by hash. |
| 1572 | pub fn load_provenance_graph( |
| 1573 | &self, |
| 1574 | hash: &Hash, |
| 1575 | ) -> Result<atomic_core::change::ProvenanceGraph, RepositoryError> { |
| 1576 | self.change_store |
| 1577 | .load_provenance_graph(hash) |
| 1578 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 1579 | } |
| 1580 | |
| 1581 | /// Check if a provenance graph exists in the repository. |
| 1582 | pub fn has_provenance_graph(&self, hash: &Hash) -> bool { |
no outgoing calls