From e7c2d8f49c84ee45f2197ea20e98442175847197 Mon Sep 17 00:00:00 2001 From: Suvarna Rokade Date: Thu, 20 May 2021 12:39:31 +0530 Subject: [PATCH] code nits: modified comment on IsDirExists func --- pkg/utils/dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {