Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vb-td committed Mar 25, 2024
1 parent a9d1c9b commit e9838d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed-code-go/fragmentation/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"os"
)

// Reports whether dir exists at the given dirPath.
// Creates dir at the given dirPath if it doesn't exist.
func EnsureDirExists(dirPath string) {
if _, err := os.Stat(dirPath); os.IsNotExist(err) {
err := os.MkdirAll(dirPath, os.ModeDir)
Expand Down

0 comments on commit e9838d9

Please sign in to comment.