fix some comments

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2024-01-05 16:25:48 +08:00
parent f72db33d5e
commit d56e1d0f46
10 changed files with 10 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ func (i *ignoreFilesMatcher) matchFile(path string) bool {
return i.matchers[len(i.matchers)-1].matcher.Match(path, false)
}
// matchFile checks whether the directory given by the provided path matches
// matchDir checks whether the directory given by the provided path matches
// any of the patterns in the .krmignore file for the package.
func (i *ignoreFilesMatcher) matchDir(path string) bool {
if len(i.matchers) == 0 {