MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / create_dir_all

Method create_dir_all

src/storage.rs:454–458  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

452
453impl PrivateStoreIo {
454 pub fn create_dir_all(path: &Path) -> io::Result<()> {
455 reject_symlink_components(path, "private store directory")?;
456 fs::create_dir_all(path)?;
457 set_private_dir_permissions(path)
458 }
459
460 pub fn write_file(path: &Path, contents: &[u8]) -> io::Result<()> {
461 if let Some(parent) = path.parent() {

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected