Skip to main content

ensure_parent_dir

Function ensure_parent_dir 

Source
pub fn ensure_parent_dir<P>(path: P) -> Result<(), Error>
where P: AsRef<Path>,
Expand description

Create parent directory of a path if not exists.