MCPcopy
hub / github.com/jesseduffield/lazygit / SetTextFilter

Method SetTextFilter

pkg/gui/filetree/file_tree.go:235–239  ·  view source on GitHub ↗
(filter string, useFuzzySearch bool)

Source from the content-addressed store, hash-verified

233}
234
235func (self *FileTree) SetTextFilter(filter string, useFuzzySearch bool) {
236 self.textFilter = filter
237 self.useFuzzySearch = useFuzzySearch
238 self.SetTree()
239}
240
241func (self *FileTree) GetTextFilter() string {
242 return self.textFilter

Callers

nothing calls this directly

Calls 1

SetTreeMethod · 0.95

Tested by

no test coverage detected