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

Method exists

atomic-core/src/output/filesystem/mod.rs:92–94  ·  view source on GitHub ↗

Check if a path exists.

(&self, path: &str)

Source from the content-addressed store, hash-verified

90
91 /// Check if a path exists.
92 pub fn exists(&self, path: &str) -> bool {
93 self.resolve_path(path).map(|p| p.exists()).unwrap_or(false)
94 }
95}
96
97// WORKING COPY WRITE IMPLEMENTATION

Callers 15

runMethod · 0.45
apply_stashMethod · 0.45
run_dropMethod · 0.45
delete_fileMethod · 0.45
add_pathMethod · 0.45
print_ignore_debugMethod · 0.45
runMethod · 0.45
resolve_pathMethod · 0.45
create_ignore_fileMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 1

resolve_pathMethod · 0.45

Tested by 1