Skip to content

Commit 6ab47cb

Browse files
author
Andrew Carter
committed
Fix comment
1 parent 1598093 commit 6ab47cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func walkDir(names []string, dir string) ([]string, error) {
8282
return names, e
8383
}
8484

85-
// includeName will return true supplied list of patterns do not exclude name
85+
// includeName checks if the name should be allowed or not based on the exclude patterns
8686
func includeName(name string, patterns []string) (bool, error) {
8787
for _, p := range patterns {
8888
// Compare pattern to full path and then to base filename

0 commit comments

Comments
 (0)