Taking hidden files parameter into account in windows (#1684)

* taking hidden files parameter into account

* Updated doc and removed irelevant linter comment

* fixed doc

* fixed doc again

* Defaulted to empty string on windows
This commit is contained in:
Catalin Ancutei authored and GitHub committed 2024-06-17 19:03:29 +10:00
1 parent 2d3cc97f78
commit 791341990c
5 files changed
+30 -14

No files matched your search

-1
View File
@@ -751,7 +751,6 @@ func (nav *nav) previewLoop(ui *ui) {
}
}
//lint:ignore U1000 This function is not used on Windows
func matchPattern(pattern, name, path string) bool {
s := name