Module scriptlike.path
Functions
| Name | Description |
|---|---|
absolutePath
|
Just like std.path.absolutePath, but operates on Path.
|
baseName
|
Just like std.path.baseName, but operates on Path.
|
buildNormalizedPathFixed
|
Like buildNormalizedPath, but if the result is the current directory, |
defaultExtension
|
Just like std.path.defaultExtension, but operates on Path and optionally Ext.
|
dirName
|
Just like std.path.dirName, but operates on Path.
|
driveName
|
Just like std.path.driveName, but operates on Path.
|
escapeShellArg
|
Properly escape arguments containing spaces for the command shell, if necessary. |
expandTilde
|
Just like std.path.expandTilde, but operates on Path.
|
extension
|
Just like std.path.extension, but takes a Path and returns an Ext.
|
filenameCmp
|
Just like std.path.filenameCmp, but operates on Path.
|
globMatch
|
Just like std.path.globMatch, but operates on Path.
|
isAbsolute
|
Just like std.path.isAbsolute, but operates on Path.
|
isRooted
|
Just like std.path.isRooted, but operates on Path.
|
isValidFilename
|
Just like std.path.isValidFilename, but operates on Path.
|
isValidPath
|
Just like std.path.isValidPath, but operates on Path.
|
pathSplitter
|
Just like std.path.pathSplitter. Note this returns a range of strings, |
relativePath
|
Just like std.path.relativePath, but operates on Path.
|
rootName
|
Just like std.path.rootName, but operates on Path.
|
setExtension
|
Just like std.path.setExtension, but operates on Path.
|
stripDrive
|
Just like std.path.stripDrive, but operates on Path.
|
stripExtension
|
Just like std.path.stripExtension, but operates on Path.
|
Structs
| Name | Description |
|---|---|
Ext
|
Represents a file extension.
|
Path
|
Represents a filesystem path. The path is always kept normalized |
Aliases
| Name | Type | Description |
|---|---|---|
defaultExt
|
Convenience aliases | |
extOf
|
Convenience aliases | |
setExt
|
Convenience aliases | |
stripExt
|
Convenience aliases |
Authors
Nick Sabalausky
Copyright
Copyright (C) 2014-2015 Nick Sabalausky
License
zlib/libpng