From 42e3a4591fb49131fbdc0b10c01b7c15a7e57e55 Mon Sep 17 00:00:00 2001 From: jinjiadu Date: Sat, 31 Aug 2024 14:34:33 +0800 Subject: [PATCH] chore: fix comment Signed-off-by: jinjiadu --- pkg/utils/file/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/file/file.go b/pkg/utils/file/file.go index 6a10144..2abf84e 100644 --- a/pkg/utils/file/file.go +++ b/pkg/utils/file/file.go @@ -179,7 +179,7 @@ func CreateFileAndWriteContent(path string, content string) error { return nil } -// IsNotExistMkDir create a directory if it does not exist +// IsNotExistCreateFile create a file if it does not exist func IsNotExistCreateFile(src string) error { if notExist := CheckNotExist(src); notExist { if err := CreateFile(src); err != nil {