Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
67
func
(br *Browser) Tree() *Node {
68
sp := br.Splits()
69
return
sp.Child(0).AsTree().Child(0).(*Node)
70
}
71
72
func
(br *Browser) Tabs() *core.Tabs {
73
return
br.FindPath(
"splits/tabs"
).(*core.Tabs)
Callers
3
DiffDirs
Method · 0.95
DiffVCS
Method · 0.95
OpenFiles
Method · 0.95
Calls
3
Splits
Method · 0.95
Child
Method · 0.80
AsTree
Method · 0.65
Tested by
no test coverage detected