mrdocs::files::createDirectory

Create a directory.

Synopsis

Expected<void>
createDirectory(std::string_view pathName);

Description

Any missing parent directories will also be created.

Return Value

The mrdocs result type: polyfill::expected defaulting the error to Error.

Parameters

Name

Description

pathName

The absolute or relative path to create.

Created with MrDocs