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))