Commit Graph

18 Commits

Author SHA1 Message Date
Qi Xiao
f8a50bf455 glob: Add tests. 2016-10-13 17:12:29 +08:00
Qi Xiao
4d7d8d8911 util.RootStar -> FullNames 2016-10-13 17:02:42 +08:00
Qi Xiao
8e24c0501d Eliminate leading / in glob result of patterns like /usr/*.
This fixes #245.
2016-10-10 20:18:10 +08:00
Qi Xiao
3cdc462dda glob/parse_test.go: Fix a wrong call to Errorf. 2016-10-09 23:18:27 +08:00
Qi Xiao
d69530f8b4 Globbing is now interruptable! 2016-06-28 23:08:15 +02:00
Qi Xiao
2fa0abd26f glob: Treat non-wildcard components specially.
This fixes #157.
2016-03-21 02:12:07 +01:00
Qi Xiao
cea7d7675c Implement an "all" modifier for wildcards; fix tests. 2016-02-23 02:45:35 +01:00
Qi Xiao
ce96ee1489 glob: Wildcards after / no longer match dot. 2016-02-23 02:34:20 +01:00
Qi Xiao
4d567f406f Fix ~/* in a pretty hacky way.
This fixes #134.
2016-02-22 16:05:14 +01:00
Qi Xiao
903de40d60 glob: More test cases. 2016-02-17 00:44:35 +01:00
Qi Xiao
5db90fd20f Merge *util packages into an util package. 2016-02-16 19:15:29 +01:00
Qi Xiao
82e33afd34 glob: Remove unused func. 2016-02-09 00:05:34 +01:00
Qi Xiao
82bcc20ff6 Move rootNames to osutil and export it. 2016-02-09 00:05:34 +01:00
Qi Xiao
762e778eeb glob: Add test cases against absolute paths. 2016-02-09 00:05:34 +01:00
Qi Xiao
8125e2f9e6 golint fixes. 2016-02-07 23:23:16 +01:00
Qi Xiao
be2856d882 Fix package doc of glob. 2016-02-07 22:17:02 +01:00
Qi Xiao
a6b38b1c89 Fix glob.match, add tests. 2016-02-07 19:45:57 +01:00
Qi Xiao
45674ba708 Add package glob. 2016-02-07 19:33:57 +01:00