Skip to content

Commit

Permalink
doc: Document for #3
Browse files Browse the repository at this point in the history
  • Loading branch information
zealic authored Oct 8, 2021
1 parent fe0a09f commit 7a7856c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func NewSystemMatcher() *Matcher {
return &Matcher{afero.NewReadOnlyFs(afero.NewOsFs())}
}

// Matches returns matched files from dir files.
// Matches returns matched files from dir files, basedir not support relative path, eg './foo/bar'.
func (m *Matcher) Matches(basedir string, options *MatchesOptions) (*MatchesResult, error) {
vfs := afero.NewBasePathFs(m.fs, basedir)
ignorefile := options.Ignorefile
Expand Down

0 comments on commit 7a7856c

Please sign in to comment.