owl-blogs/directories.go

9 lines
108 B
Go

package kiss
import "os"
func dirExists(path string) bool {
_, err := os.Stat(path)
return err == nil
}