mrdocs::files::getParentDir
Return the parent directory.
Synopsis
Declared in <mrdocs/Support/Filesystem/Path.hpp>
std::string_view
getParentDir(std::string_view pathName);
Description
The result is a view into pathName (like getFileName), so it is valid only while pathName is. Wrap it in a std::string to keep it.
Parameters
Name |
Description |
pathName |
The absolute or relative path to the directory or file. |
Created with MrDocs