Module scriptlike.path.wrappers

Scriptlike v0.9.4

Wrappers for std.path that add support for Scriptlike's Path and command echoing features.

Functions

Name Description
absolutePath Like std.path.absolutePath, but operates on Path.
baseName Like std.path.baseName, but operates on Path.
defaultExtension Like std.path.defaultExtension, but operates on Path and optionally Ext.
dirName Like std.path.dirName, but operates on Path.
driveName Like std.path.driveName, but operates on Path.
expandTilde Like std.path.expandTilde, but operates on Path.
extension Like std.path.extension, but takes a Path and returns an Ext.
filenameCmp Like std.path.filenameCmp, but operates on Path.
globMatch Like std.path.globMatch, but operates on Path.
isAbsolute Like std.path.isAbsolute, but operates on Path.
isRooted Like std.path.isRooted, but operates on Path.
isValidFilename Like std.path.isValidFilename, but operates on Path.
isValidPath Like std.path.isValidPath, but operates on Path.
pathSplitter Like std.path.pathSplitter. Note this returns a range of strings,
relativePath Like std.path.relativePath, but operates on Path.
rootName Like std.path.rootName, but operates on Path.
setExtension Like std.path.setExtension, but operates on Path.
stripDrive Like std.path.stripDrive, but operates on Path.
stripExtension Like std.path.stripExtension, but operates on Path.

Aliases

Name Type Description
absolutePath Alias of same-named function from std.path
baseName std.path.baseName Alias of same-named function from std.path
defaultExtension std.path.defaultExtension Alias of same-named function from std.path
dirName std.path.dirName Alias of same-named function from std.path
driveName std.path.driveName Alias of same-named function from std.path
expandTilde Alias of same-named function from std.path
extension std.path.extension Alias of same-named function from std.path
filenameCmp std.path.filenameCmp Alias of same-named function from std.path
globMatch std.path.globMatch Alias of same-named function from std.path
isAbsolute std.path.isAbsolute Alias of same-named function from std.path
isRooted std.path.isRooted Alias of same-named function from std.path
isValidFilename std.path.isValidFilename Alias of same-named function from std.path
isValidPath std.path.isValidPath Alias of same-named function from std.path
pathSplitter std.path.pathSplitter Alias of same-named function from std.path
relativePath std.path.relativePath Alias of same-named function from std.path
rootName std.path.rootName Alias of same-named function from std.path
setExtension std.path.setExtension Alias of same-named function from std.path
stripDrive std.path.stripDrive Alias of same-named function from std.path
stripExtension std.path.stripExtension Alias of same-named function from std.path

Authors

Nick Sabalausky

Copyright

Copyright (C) 2014-2015 Nick Sabalausky

License

zlib/libpng