Compare commits

..

No commits in common. "4318a1ea1561b20ef3ff1ee23e218f462fb62d6b" and "c8d542dbe3ee3b78bf6f2754ba8ffecf651b75b6" have entirely different histories.

View File

@ -179,7 +179,7 @@ func CreateFileAndWriteContent(path string, content string) error {
return nil return nil
} }
// IsNotExistCreateFile create a file if it does not exist // IsNotExistMkDir create a directory if it does not exist
func IsNotExistCreateFile(src string) error { func IsNotExistCreateFile(src string) error {
if notExist := CheckNotExist(src); notExist { if notExist := CheckNotExist(src); notExist {
if err := CreateFile(src); err != nil { if err := CreateFile(src); err != nil {