std.filesystem.ExtractDir - nitrologic/monkey2 GitHub Wiki
std::std.filesystem.ExtractDir
monkey:monkey.types.String( path:monkey:monkey.types.String )
Function ExtractDir:Extracts the directory component from a filesystem path.
If path
is a root directory it is returned without modification.
If path
does not contain a directory component, an empty string is returned.
Parameters | |
---|---|
path |
path The filesystem path. |