Skip to content

Added Support for GlobOptions

Compare
Choose a tag to compare
@bmatcuk bmatcuk released this 31 Oct 00:40
· 21 commits to master since this release
v4.3.0
066043f

This release adds options to Glob, GlobWalk, and FilepathGlob. At the moment, the only option is WithFailOnIOErrors that will cause doublestar to fail and return an error if it encounters any IO errors. It can be used like:

doublestar.Glob(fsys, pattern, WithFailOnIOErrors())

Thanks @fho!