summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell.go b/shell.go
index 6b4d1a2..faaad07 100644
--- a/shell.go
+++ b/shell.go
@@ -188,6 +188,10 @@ func Mkdir(dir string) bool {
return true
}
+func IsDir(dirname string) bool {
+ return Dir(dirname)
+}
+
// return true if the filename exists (cross-platform)
func Dir(dirname string) bool {
info, err := os.Stat(Path(dirname))