Return a normalized path.
<mrdocs/Support/Path.hpp>
std::string
normalizePath(std::string_view pathName);
This function returns a new path based on applying the following changes to the passed path:
"." and ".." are resolved
Separators made uniform
Separators are replaced with the native separator
Name | Description |
---|---|
pathName | The relative or absolute path. |