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

Method is_directory

atomic-core/src/output/filesystem/walk.rs:139–141  ·  view source on GitHub ↗

Check if a path is a directory.

(&self, path: &str)

Source from the content-addressed store, hash-verified

137
138 /// Check if a path is a directory.
139 fn is_directory(&self, path: &str) -> bool {
140 self.resolve_path(path).map(|p| p.is_dir()).unwrap_or(false)
141 }
142
143 /// Walk the directory tree and return all file paths.
144 ///

Callers

nothing calls this directly

Calls 2

is_dirMethod · 0.80
resolve_pathMethod · 0.45

Tested by

no test coverage detected