Determine lexically if a path is a directory.
Declared in <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.
true if the path exists and is a directory, or if the path does not exist and the last path segment does not contain a period. false otherwise.
| Name | Description |
|---|---|
| pathName | The absolute or relative path |