added documentation

This commit is contained in:
Stephen McQuay 2015-08-23 16:23:26 -07:00
parent ec32af71be
commit 7e24099183
1 changed files with 1 additions and 0 deletions

1
fs.go
View File

@ -10,6 +10,7 @@ func Exists(path string) bool {
return true
}
// IsDir returns if path is a directory
func IsDir(path string) bool {
info, err := os.Stat(path)
if err != nil {