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

Method is_file

atomic-repository/src/archive.rs:202–204  ·  view source on GitHub ↗

Check if this format is a single file.

(&self)

Source from the content-addressed store, hash-verified

200
201 /// Check if this format is a single file.
202 pub fn is_file(&self) -> bool {
203 !matches!(self, Self::Directory)
204 }
205}
206
207impl fmt::Display for ArchiveFormat {

Callers 15

source_fingerprintFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
immutable_changes_digestFunction · 0.45
fingerprintFunction · 0.45
capture_rootFunction · 0.45
locate_dbFunction · 0.45
take_snapshotFunction · 0.45
install_from_dirFunction · 0.45
load_custom_shapesFunction · 0.45
is_actual_git_directoryFunction · 0.45

Calls

no outgoing calls

Tested by 3

capture_rootFunction · 0.36
spawnMethod · 0.36