Skip to content

Releases: bmatcuk/doublestar

UNC Support

02 Aug 01:07
Compare
Choose a tag to compare

Support for UNC paths in Glob(). Thanks @WithoutPants!

Removes Automatic Multi-Separator Clean-up Code

21 Jul 17:56
Compare
Choose a tag to compare

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

06 Jul 23:00
Compare
Choose a tag to compare

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

30 Jun 01:02
Compare
Choose a tag to compare

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

11 Aug 13:52
Compare
Choose a tag to compare

Oops! Thanks to @fernferret for catching my mistake!

Allow / with Glob on Windows

11 Aug 04:10
Compare
Choose a tag to compare

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

10 Aug 15:13
b91dabe
Compare
Choose a tag to compare

Thanks to @dgodd for the PR =)

Updated tests for Windows and absolute paths

22 Sep 23:50
Compare
Choose a tag to compare

Support for Absolute Paths in Windows

22 Sep 20:53
Compare
Choose a tag to compare

Thanks to Calin Seciu and Danny Berger

Allow globstars to follow symlinks

19 Sep 20:33
Compare
Choose a tag to compare

** was not following symlinks correctly. Thanks Danny Berger!