Added Support for GlobOptions
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!