We should update to WalkDir eventually (not in the PR), but at some point.
As per documentation:
Walk is less efficient than WalkDir, introduced in Go 1.16, which avoids calling os.Lstat on every visited file or directory.
https://pkg.go.dev/path/filepath#Walk
Originally posted by @vhvb1989 in #9 (comment)
We should update to WalkDir eventually (not in the PR), but at some point.
As per documentation:
Walk is less efficient than WalkDir, introduced in Go 1.16, which avoids calling os.Lstat on every visited file or directory.https://pkg.go.dev/path/filepath#Walk
Originally posted by @vhvb1989 in #9 (comment)