Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatcuk committed Oct 31, 2022
1 parent db6d260 commit 066043f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Note: users should _not_ count on the returned error,
```go
type GlobWalkFunc func(path string, d fs.DirEntry) error
func GlobWalk(fsys fs.FS, pattern string, fn GlobWalkFunc) error
func GlobWalk(fsys fs.FS, pattern string, fn GlobWalkFunc, opts ...GlobOption) error
```
GlobWalk calls the callback function `fn` for every file matching pattern. The
Expand Down Expand Up @@ -194,7 +194,7 @@ Note: users should _not_ count on the returned error,
### FilepathGlob

```go
func FilepathGlob(pattern string) (matches []string, err error)
func FilepathGlob(pattern string, opts ...GlobOption) (matches []string, err error)
```

FilepathGlob returns the names of all files matching pattern or nil if there is
Expand Down

0 comments on commit 066043f

Please sign in to comment.