<mrdocs/Support/Path.hpp>
bool
isLexicalDirectory(std::string_view pathName);
This function determines if a path is a directory.
If the path does not exist, the function determines lexically if the path represents a directory. In this case, the function returns true if the last path segment contains a period, otherwise false.
Name | Description |
---|---|
pathName | The absolute or relative path |