mrdocs::files::makeDirsy

Append a trailing native separator if not already present.

Synopsis

Declared in <mrdocs/Support/Path.hpp>

std::string
makeDirsy(std::string_view pathName);

Return Value

A copy of the path with a trailing separator if not already present.

Parameters

Name

Description

pathName

The absolute or relative path to the directory or file.

Created with MrDocs