Load a provenance graph from the repository by hash.
(
&self,
hash: &Hash,
)
| 1137 | |
| 1138 | /// Load a provenance graph from the repository by hash. |
| 1139 | pub fn load_provenance_graph( |
| 1140 | &self, |
| 1141 | hash: &Hash, |
| 1142 | ) -> Result<atomic_core::change::ProvenanceGraph, RepositoryError> { |
| 1143 | self.change_store |
| 1144 | .load_provenance_graph(hash) |
| 1145 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 1146 | } |
| 1147 | |
| 1148 | /// Check if a provenance graph exists in the repository. |
| 1149 | pub fn has_provenance_graph(&self, hash: &Hash) -> bool { |
no outgoing calls