Skip to main content

ensure_layout

Function ensure_layout 

Source
pub fn ensure_layout(storage_dir: &Path) -> Result<(), Error>
Expand description

Create the on-startup subdirectory layout under storage_dir.

ยงErrors

Returns an Error::Io if the directories cannot be created.