Load a provenance graph from the repository by hash.
(
&self,
hash: &Hash,
)
| 1113 | |
| 1114 | /// Load a provenance graph from the repository by hash. |
| 1115 | pub fn load_provenance_graph( |
| 1116 | &self, |
| 1117 | hash: &Hash, |
| 1118 | ) -> Result<atomic_core::change::ProvenanceGraph, RepositoryError> { |
| 1119 | self.change_store |
| 1120 | .load_provenance_graph(hash) |
| 1121 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 1122 | } |
| 1123 | |
| 1124 | /// Check if a provenance graph exists in the repository. |
| 1125 | pub fn has_provenance_graph(&self, hash: &Hash) -> bool { |
no outgoing calls