diff --git a/pkg/utils/dir.go b/pkg/utils/dir.go index 8c908795b..b3111385f 100644 --- a/pkg/utils/dir.go +++ b/pkg/utils/dir.go @@ -26,7 +26,7 @@ func GenerateTempDir() string { return filepath.Join(os.TempDir(), GenRandomString(6)) } -// Checks wether the provided directory exists or not +// IsDirExists checks wether the provided directory exists or not func IsDirExists(dir string) bool { _, err := os.Stat(dir) if os.IsNotExist(err) {