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

Method as_bytes

atomic-repository/src/repository/project_tree.rs:47–49  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

45 }
46
47 pub fn as_bytes(&self) -> &[u8] {
48 &self.0
49 }
50
51 pub fn components(&self) -> impl Iterator<Item = &[u8]> {
52 self.0.split(|byte| *byte == b'/')

Calls

no outgoing calls