Skip to main content

ensure_private_dir

Function ensure_private_dir 

Source
pub fn ensure_private_dir(dir: &Path) -> Result<()>
Expand description

Create a directory only the user can enter. On Windows the folders under the user’s profile are private already.