MCPcopy Create free account
hub / github.com/cogentcore/core / OpenFiles

Method OpenFiles

texteditor/diffbrowser/browser.go:77–83  ·  view source on GitHub ↗

OpenFiles Updates the tree based on files

()

Source from the content-addressed store, hash-verified

75
76// OpenFiles Updates the tree based on files
77func (br *Browser) OpenFiles() { //types:add
78 tv := br.Tree()
79 if tv == nil {
80 return
81 }
82 tv.Open()
83}
84
85func (br *Browser) MakeToolbar(p *tree.Plan) {
86 // tree.Add(p, func(w *core.FuncButton) {

Callers 1

InitMethod · 0.95

Calls 2

TreeMethod · 0.95
OpenMethod · 0.65

Tested by

no test coverage detected