Module scriptlike.file.wrappers

Scriptlike v0.9.3

Wrappers for std.file that add support for Scriptlike's Path, command echoing and dry-run features.

Functions

Name Description
append Like std.file.append, but supports Path, command echoing and dryrun.
chdir Like std.file.chdir, but supports Path and command echoing.
copy Like std.file.copy, but supports Path, command echoing and dryrun.
dirEntries Like std.file.dirEntries, but supports Path and command echoing.
exists Like std.file.exists, but supports Path and command echoing.
getAttributes Like std.file.getAttributes, but supports Path and command echoing.
getcwd Like std.file.getcwd, but returns a Path.
getLinkAttributes Like std.file.getLinkAttributes, but supports Path and command echoing.
getSize Like std.file.getSize, but supports Path and command echoing.
getTimes Like std.file.getTimes, but supports Path and command echoing.
isDir Like std.file.isDir, but supports Path and command echoing.
isFile Like std.file.isFile, but supports Path and command echoing.
isSymlink Like std.file.isSymlink, but supports Path and command echoing.
mkdir Like std.file.mkdir, but supports Path, command echoing and dryrun.
mkdirRecurse Like std.file.mkdirRecurse, but supports Path, command echoing and dryrun.
read Like std.file.read, but supports Path and command echoing.
readLink
readText Like std.file.readTXXXXXXXext, but supports Path and command echoing.
remove Like std.file.remove, but supports Path, command echoing and dryrun.
rename Like std.file.rename, but supports Path, command echoing and dryrun.
rmdir Like std.file.rmdir, but supports Path, command echoing and dryrun.
rmdirRecurse Like std.file.rmdirRecurse, but supports Path, command echoing and dryrun.
setTimes Like std.file.setTimes, but supports Path, command echoing and dryrun.
slurp Like std.file.slurp, but supports Path and command echoing.
symlink
symlink
symlink
symlink
tempDir Like std.file.tempDir, but supports Path and command echoing.
thisExePath Like std.file.thisExePath, but supports Path and command echoing.
timeLastModified Like std.file.timeLastModified, but supports Path and command echoing.
write Like std.file.write, but supports Path, command echoing and dryrun.

Aliases

Name Type Description
append Alias of same-named function from std.file
chdir Alias of same-named function from std.file
copy Alias of same-named function from std.file
dirEntries Alias of same-named function from std.file
exists Alias of same-named function from std.file
getAttributes Alias of same-named function from std.file
getLinkAttributes Alias of same-named function from std.file
getSize Alias of same-named function from std.file
getTimes Alias of same-named function from std.file
isDir Alias of same-named function from std.file
isFile Alias of same-named function from std.file
isSymlink std.file.isSymlink Alias of same-named function from std.file
mkdir Alias of same-named function from std.file
mkdirRecurse Alias of same-named function from std.file
read Alias of same-named function from std.file
readLink std.file.readLink Alias of same-named function from std.file
readText std.file.readText Alias of same-named function from std.file
remove Alias of same-named function from std.file
rename Alias of same-named function from std.file
rmdir Alias of same-named function from std.file
rmdirRecurse Alias of same-named function from std.file
setTimes Alias of same-named function from std.file
slurp Alias of same-named function from std.file
symlink std.file.symlink Alias of same-named function from std.file
timeLastModified Alias of same-named function from std.file
write Alias of same-named function from std.file

Authors

Nick Sabalausky

Copyright

Copyright (C) 2014-2015 Nick Sabalausky

License

zlib/libpng