Skip to main content

create_dir

Function create_dir 

Source
pub fn create_dir(path: &Path, mode: Option<u32>) -> Result<()>
Expand description

Create a directory, optionally setting its mode.

Shared with the layout module of onlyne-config, so a caller creates run/ with the same 0700 a bootstrap creates, keeping one convention for the directories that hold private endpoints.