Releases: bmatcuk/doublestar
UNC Support
Support for UNC paths in Glob(). Thanks @WithoutPants!
Removes Automatic Multi-Separator Clean-up Code
v1.1.2 introduced some code that would automatically clean-up multiple separators in patterns and paths (ie, /path/to//something
would automatically get cleaned to /path/to/something
by treating the //
as /
). However, it has been brought to my attention that this is not always desirable and, so, it makes sense to remove it. If this is desirable behavior, you could always cleanup your patterns and paths before passing them to doublestar, but if I leave in this code and it is undesirable, you have no option to change the behavior.
Fix Directory Issues on Windows
Windows didn't like some of the stuff in the test
directory, so I've removed that from the repo and generate it on-the-fly when the tests run.
Fixed Some Corner Cases
Fixed a few corner cases where doublestar did not return the same result as golang's built-in Match functions. Since doublestar is meant to be a drop-in replacement, it should produce the same results.
Thanks @storyicon for submitting the bug report!
Fixed Glob / Support on Windows
Oops! Thanks to @fernferret for catching my mistake!
Allow / with Glob on Windows
filepath.Glob
will accept patterns with /
characters on Windows, so, doublestar should, too. Hopefully this won't break anything for anyone!
Added Support for Go Modules
Thanks to @dgodd for the PR =)
Updated tests for Windows and absolute paths
v1.0.9 v1.0.9
Support for Absolute Paths in Windows
Thanks to Calin Seciu and Danny Berger
Allow globstars to follow symlinks
**
was not following symlinks correctly. Thanks Danny Berger!