Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ CanOpen
Method
CanOpen
filetree/node.go:415–417 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
413
}
414
415
func
(fn *Node) CanOpen() bool {
416
return
fn.HasChildren() || fn.IsDir()
417
}
418
419
// openDir opens given directory node
420
func
(fn *Node) openDir() {
Callers
nothing calls this directly
Calls
2
IsDir
Method · 0.95
HasChildren
Method · 0.45
Tested by
no test coverage detected