Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Nelson
c5d8e63a0f Fix path separator matching in filecount input (#6077) 2019-07-08 14:46:00 -07:00
Samuel-BF
f530ca6e7c Use godirwalk in globpath (#5145) 2018-12-18 14:23:25 -08:00
Samuel-BF
8906e2796b Add size to filecount input (#4778) 2018-12-13 12:25:49 -08:00
Samuel-BF
f259229a35 Improve performance of globpath with some patterns (#4836) 2018-10-12 14:48:11 -07:00
Daniel Nelson
31ce98fa91 Don't match pattern on any error (#3040)
This prevents a pattern with no wildcards from matching in case
permissions is denied.
2017-07-21 14:28:14 -07:00
Cameron Sparr
f7d551a807 Add more nested globpath tests 2017-02-01 23:44:35 +00:00
Cameron Sparr
52134555d6 globpath: only walk tree if ** is defined
closes #1517
2016-09-28 15:44:29 +01:00
Cameron Sparr
07728d7425 Refactor globpath pkg to return a map
this is so that we don't call os.Stat twice for every file matched
by Match(). Also changing the behavior to _not_ return the name of a
file that doesn't exist if it's not a glob.
2016-04-24 14:37:44 -06:00
Cameron Sparr
d3a25e4dc1 globpath refactor into pkg separate from filestat 2016-04-23 11:56:33 -06:00