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 10

take_snapshotFunction · 0.45
populate_file_indexMethod · 0.45
archiveMethod · 0.45
detect_sandboxFunction · 0.45
provision_working_treeFunction · 0.45
find_rootMethod · 0.45
statusMethod · 0.45
next_from_filesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected