Paweł Żak
fe87db594c
chore(linters): Fix findings found by testifylint: error-nil ( #14198 )
2023-10-27 07:42:25 -06:00
Paweł Żak
5661341813
chore: Enable filepathJoin checker for gocritic ( #13758 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Sebastian Spaink
4913392b85
chore: Remove deprecated build tags ( #11867 )
2022-09-22 13:25:31 -05:00
Howie
381dc22723
chore: typos across source code comments ( #10361 )
2022-01-05 08:20:10 -07:00
Sebastian Spaink
3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions ( #9642 )
2021-08-23 15:37:44 -05:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04:00
Paweł Żak
38c61c07ef
Revive fixes - part 4: ( #8981 )
...
empty-lines
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Sebastian Spaink
71be90d992
Support exclamation mark to create non-matching list in tail plugin ( #8613 )
...
* Replace exclamation mark with caret
* Update README and use table driven tests
* Use ReplaceAll instead
* Use doublestar package instead to glob filepath
* Add license
* Fix order of dependencies
* Doc improvement, maybe better then str replace?
* Forgot to remove nil from test
* Use regex instead of library
* Revert unnecessary change
* Go back to using library
replace string twice to handle edge case
2021-02-16 15:53:50 -06:00
Paweł Żak
0fcfee0caf
Fix tests for Windows - part 1 ( #8414 )
2020-11-23 10:40:32 -05:00
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