std.filesystem.ExtractRootDir - nitrologic/monkey2 GitHub Wiki
std::std.filesystem.ExtractRootDir
monkey:monkey.types.String( path:monkey:monkey.types.String )
Function ExtractRootDir:Extracts the root directory from a file system path.
A root directory is a directory path that:
-
Starts with '//' or '/', or...
-
Starts with 'blah:/', 'blah://' or 'blah::'.
Parameters | |
---|---|
path |
path The filesystem path. |