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

Method components

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

Source from the content-addressed store, hash-verified

49 }
50
51 pub fn components(&self) -> impl Iterator<Item = &[u8]> {
52 self.0.split(|byte| *byte == b'/')
53 }
54
55 pub fn file_name(&self) -> &[u8] {
56 self.0.rsplit(|byte| *byte == b'/').next().unwrap_or(&[])

Callers 15

path_to_git_stringFunction · 0.80
display_pathFunction · 0.80
should_ignore_untrackedFunction · 0.80
checked_pathFunction · 0.80
normalize_pathFunction · 0.80
attributesMethod · 0.80
is_always_ignoredFunction · 0.80
exact_metadataMethod · 0.80
is_enrichment_internalFunction · 0.80
injection_relative_pathFunction · 0.80

Calls

no outgoing calls

Tested by 1