MCPcopy 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
415func (fn *Node) CanOpen() bool {
416 return fn.HasChildren() || fn.IsDir()
417}
418
419// openDir opens given directory node
420func (fn *Node) openDir() {

Callers

nothing calls this directly

Calls 2

IsDirMethod · 0.95
HasChildrenMethod · 0.45

Tested by

no test coverage detected