Load a provenance graph from the repository by hash.
(
&self,
hash: &Hash,
)
| 685 | |
| 686 | /// Load a provenance graph from the repository by hash. |
| 687 | pub fn load_provenance_graph( |
| 688 | &self, |
| 689 | hash: &Hash, |
| 690 | ) -> Result<atomic_core::change::ProvenanceGraph, RepositoryError> { |
| 691 | self.change_store |
| 692 | .load_provenance_graph(hash) |
| 693 | .map_err(|e| RepositoryError::Database(e.to_string())) |
| 694 | } |
| 695 | |
| 696 | /// Check if a provenance graph exists in the repository. |
| 697 | pub fn has_provenance_graph(&self, hash: &Hash) -> bool { |
no outgoing calls
no test coverage detected