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

Method create_dir_all

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

Create a directory and all parent directories.

(&self, path: &str)

Source from the content-addressed store, hash-verified

237
238 /// Create a directory and all parent directories.
239 fn create_dir_all(&self, path: &str) -> Result<(), Self::Error> {
240 let abs_path = self.resolve_path(path)?;
241 fs::create_dir_all(&abs_path)
242 }
243
244 /// Remove a file or directory.
245 ///

Callers 5

materialize_viewFunction · 0.45
test_full_workflowFunction · 0.45

Calls 1

resolve_pathMethod · 0.45

Tested by 4

test_full_workflowFunction · 0.36