mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-28 13:00:46 +00:00
b4cccf23d4
* Remove 1 unused field and 3 unused functions unused elements fount by running golangci-lint run --disable-all --enable unused src/result.go:19:2: field `index` is unused (unused) index int32 ^ src/tui/light.go:716:23: func `(*LightWindow).stderr` is unused (unused) func (w *LightWindow) stderr(str string) { ^ src/terminal.go:1015:6: func `numLinesMax` is unused (unused) func numLinesMax(str string, max int) int { ^ src/tui/tui.go:167:20: func `ColorPair.is24` is unused (unused) func (p ColorPair) is24() bool { ^ * Address warnings from "gosimple" linter src/options.go:389:83: S1003: should use strings.Contains(str, ",,,") instead (gosimple) if str == "," || strings.HasPrefix(str, ",,") || strings.HasSuffix(str, ",,") || strings.Index(str, ",,,") >= 0 { ^ src/options.go:630:18: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple) executeRegexp = regexp.MustCompile( ^ src/terminal.go:29:16: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple) placeholder = regexp.MustCompile("\\\\?(?:{[+sf]*[0-9,-.]*}|{q}|{\\+?f?nf?})") ^ src/terminal_test.go:92:10: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple) regex = regexp.MustCompile("\\w+") ^ * Address warnings from "staticcheck" linter src/algo/algo.go:374:2: SA4006: this value of `offset32` is never used (staticcheck) offset32, T := alloc32(offset32, slab, N) ^ src/algo/algo.go:456:2: SA4006: this value of `offset16` is never used (staticcheck) offset16, C := alloc16(offset16, slab, width*M) ^ src/tui/tui.go:119:2: SA9004: only the first constant in this group has an explicit type (staticcheck) colUndefined Color = -2 ^ |
||
---|---|---|
.. | ||
algo | ||
tui | ||
util | ||
ansi_test.go | ||
ansi.go | ||
cache_test.go | ||
cache.go | ||
chunklist_test.go | ||
chunklist.go | ||
constants.go | ||
core.go | ||
history_test.go | ||
history.go | ||
item_test.go | ||
item.go | ||
LICENSE | ||
matcher.go | ||
merger_test.go | ||
merger.go | ||
options_test.go | ||
options.go | ||
pattern_test.go | ||
pattern.go | ||
reader_test.go | ||
reader.go | ||
result_others.go | ||
result_test.go | ||
result_x86.go | ||
result.go | ||
terminal_test.go | ||
terminal_unix.go | ||
terminal_windows.go | ||
terminal.go | ||
tokenizer_test.go | ||
tokenizer.go | ||
update_assets.rb |