Module scriptlike.path.extras
Scriptlike v0.9.0
Extra Scriptlike-only functionality to complement std.path
.
Functions
Name | Description |
---|---|
buildNormalizedPathFixed
|
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
|
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 ).
|
Aliases
Name | Type | Description |
---|---|---|
defaultExt
|
Convenience alias | |
extOf
|
Convenience alias | |
setExt
|
Convenience alias | |
stripExt
|
Convenience alias |
Authors
Nick Sabalausky
Copyright
Copyright (C) 2014-2015 Nick Sabalausky
License
zlib/libpng