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

Method get_contents_ext

atomic-core/src/change/verified.rs:145–151  ·  view source on GitHub ↗
(
        &self,
        node: crate::types::GraphNode<Option<Hash>>,
        buf: &mut [u8],
    )

Source from the content-addressed store, hash-verified

143 }
144
145 fn get_contents_ext(
146 &self,
147 node: crate::types::GraphNode<Option<Hash>>,
148 buf: &mut [u8],
149 ) -> Result<usize, Self::Error> {
150 self.store.get_contents_ext(node, buf)
151 }
152}
153
154#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected