mrdocs::files::getParentDir
Return the parent directory.
Synopsis
Declared in <mrdocs/Support/Path.hpp>
std::string
getParentDir(std::string_view pathName);
Description
If the parent directory is defined, the returned path will always have a trailing separator.
Parameters
| Name | Description |
|---|---|
pathName |
The absolute or relative path to the directory or file. |
Created with MrDocs