MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / create_private_dir_all

Function create_private_dir_all

crates/openshell-driver-vm/src/driver.rs:4169–4172  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

4167}
4168
4169async fn create_private_dir_all(path: &Path) -> Result<(), std::io::Error> {
4170 tokio::fs::create_dir_all(path).await?;
4171 restrict_owner_only_dir(path).await
4172}
4173
4174#[cfg(unix)]
4175async fn restrict_owner_only_dir(path: &Path) -> Result<(), std::io::Error> {

Callers 3

new_with_extensionsMethod · 0.85
create_sandboxMethod · 0.85

Calls 1

restrict_owner_only_dirFunction · 0.85

Tested by

no test coverage detected