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

Method file_name

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

Source from the content-addressed store, hash-verified

53 }
54
55 pub fn file_name(&self) -> &[u8] {
56 self.0.rsplit(|byte| *byte == b'/').next().unwrap_or(&[])
57 }
58
59 pub fn to_versioned_bytes(&self) -> Vec<u8> {
60 let mut encoder = Encoder::new();

Callers 15

readMethod · 0.45
holds_visible_entriesFunction · 0.45
directory_content_hashFunction · 0.45
copy_entryFunction · 0.45
copy_dirFunction · 0.45
provision_working_treeFunction · 0.45
vault_intent_createMethod · 0.45

Calls 1

nextMethod · 0.45