1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-09 09:22:48 +03:00

Rename FuzzySearch to FilterStrings

It isn't necessarily fuzzy any more.
This commit is contained in:
Stefan Haller
2024-03-17 09:11:00 +01:00
parent a8797c7261
commit 561afa9901
3 changed files with 6 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/samber/lo"
)
func FuzzySearch(needle string, haystack []string, useFuzzySearch bool) []string {
func FilterStrings(needle string, haystack []string, useFuzzySearch bool) []string {
if needle == "" {
return []string{}
}