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

Method is_file

atomic-core/src/output/repo/tree.rs:564–566  ·  view source on GitHub ↗

Check if this is a file. # Returns `true` if this item represents a file.

(&self)

Source from the content-addressed store, hash-verified

562 ///
563 /// `true` if this item represents a file.
564 pub fn is_file(&self) -> bool {
565 !self.is_directory
566 }
567
568 /// Set the metadata for this item.
569 ///

Callers 15

runMethod · 0.45
runMethod · 0.45
run_importMethod · 0.45
add_dir_recursiveFunction · 0.45
observe_pathFunction · 0.45

Calls

no outgoing calls

Tested by 8

walkdirFunction · 0.36
collectFunction · 0.36
intents_writtenFunction · 0.36
collect_snapshotFunction · 0.36
collect_snapshotFunction · 0.36
visitFunction · 0.36
collectFunction · 0.36