Skip to content

Added Support for SkipDir to GlobWalk

Compare
Choose a tag to compare
@bmatcuk bmatcuk released this 10 Jul 18:28
· 25 commits to master since this release
v4.2.0
cfa46a9

Your callback to GlobWalk can now return SkipDir which functions as it does in the standard library: if the current path is a directory, GlobWalk will not recurse into it. If the current path is not a directory, GlobWalk will stop processing the parent directory.