Fixed Glob Bug With Pattern That Has Nonexistent Path And WithFailOnIOErrors
If the WithFailOnIOErrors
option was set and the pattern contained a reference to a nonexistent path (such as nonexistent/path/*
), Glob would return ErrNotExist
. It now returns an empty result with no error as expected.
For anyone that would prefer that doublestar returned an error, I'll be adding that as a feature (and a separate option) later.