Module scriptlike.path.extras
Scriptlike v0.10.3
Extra Scriptlike-only functionality to complement std.path
.
Functions
Name | Description |
buildNormalizedPathFixed(paths)
|
Like buildNormalizedPath, but if the result is the current directory,
this returns "." instead of "". However, if all the inputs are "", or there
are no inputs, this still returns "" just like buildNormalizedPath.
|
escapeShellArg(str)
|
Properly escape arguments containing spaces for the command shell, if necessary.
|
Structs
Name | Description |
Ext
|
Represents a file extension.
|
Path
|
Represents a filesystem path. The path is always kept normalized
automatically (as performed by buildNormalizedPathFixed).
|