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

Method is_file

atomic-core/src/output/repo/tree.rs:559–561  ·  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

557 ///
558 /// `true` if this item represents a file.
559 pub fn is_file(&self) -> bool {
560 !self.is_directory
561 }
562
563 /// Set the metadata for this item.
564 ///

Callers 10

run_pushMethod · 0.45
apply_stashMethod · 0.45
runMethod · 0.45
add_dir_recursiveFunction · 0.45
runMethod · 0.45
filesMethod · 0.45
walk_files_recursiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected