MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / get_external

Method get_external

atomic-core/src/output/repo/repository/tests.rs:629–631  ·  view source on GitHub ↗
(&self, id: NodeId)

Source from the content-addressed store, hash-verified

627 type Adj = std::vec::IntoIter<Result<SerializedGraphEdge, PristineError>>;
628
629 fn get_external(&self, id: NodeId) -> Result<Option<Hash>, PristineError> {
630 Ok(self.external.get(&id).copied())
631 }
632
633 fn get_internal(&self, hash: &Hash) -> Result<Option<NodeId>, PristineError> {
634 Ok(self

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected