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

Method Tree

texteditor/diffbrowser/browser.go:67–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67func (br *Browser) Tree() *Node {
68 sp := br.Splits()
69 return sp.Child(0).AsTree().Child(0).(*Node)
70}
71
72func (br *Browser) Tabs() *core.Tabs {
73 return br.FindPath("splits/tabs").(*core.Tabs)

Callers 3

DiffDirsMethod · 0.95
DiffVCSMethod · 0.95
OpenFilesMethod · 0.95

Calls 3

SplitsMethod · 0.95
ChildMethod · 0.80
AsTreeMethod · 0.65

Tested by

no test coverage detected