Function lrs::file::create_dir

Creates a directory.

Syntax

fn create_dir<P>(path: P, mode: Mode) -> Result<(), Errno>
    where P: ToCString,

Arguments

NameDescription
path

The path of the new directory.

mode

The mode of the new directory.

Remarks

If the path is relative, it will be interpreted relative to the current working directory.

See also