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

Method get_internal

atomic-core/src/output/repo/content.rs:855–862  ·  view source on GitHub ↗
(&self, _hash: &Hash)

Source from the content-addressed store, hash-verified

853 }
854
855 fn get_internal(&self, _hash: &Hash) -> Result<Option<NodeId>, PristineError> {
856 match self.fault {
857 DependencyFault::GetInternal => Err(PristineError::Inconsistent {
858 message: "scripted get_internal failure".to_string(),
859 }),
860 DependencyFault::GetChangeDeps => Ok(None),
861 }
862 }
863
864 fn get_node_type(&self, _id: NodeId) -> Result<Option<u8>, PristineError> {
865 Ok(None)

Callers 1

supersedor_in_forkFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected