Skip to main content

ensure

Function ensure 

Source
pub fn ensure(path: &Path) -> Result<()>
Expand description

Create a directory and every missing ancestor.

ยงErrors

Returns a contextual error when the directory cannot be ensured.