Skip to main content

create_dir

Function create_dir 

Source
fn create_dir(dir: &Path) -> Result<(), StorageError>
Expand description

Creates dir 0700 if absent, and tightens it to 0700 if it was already there — the fix didbot-pds’s write-ahead log made for the same reason, applied here because this crate cannot call that one.