Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
207
impl fmt::Display for ArchiveFormat {
Callers
15
source_fingerprint
Function · 0.45
main
Function · 0.45
main
Function · 0.45
immutable_changes_digest
Function · 0.45
fingerprint
Function · 0.45
capture_root
Function · 0.45
locate_db
Function · 0.45
take_snapshot
Function · 0.45
install_from_dir
Function · 0.45
load_custom_shapes
Function · 0.45
establishes_repository_boundary
Function · 0.45
is_actual_git_directory
Function · 0.45
Calls
no outgoing calls
Tested by
3
capture_root
Function · 0.36
spawn
Method · 0.36
operation_lock_child_holds_file
Function · 0.36