MCPcopy
hub / github.com/BishopFox/jsluice / GetNode

Method GetNode

objects.go:70–74  ·  view source on GitHub ↗

GetNode returns the matching *Node for a given key

(key string)

Source from the content-addressed store, hash-verified

68
69// GetNode returns the matching *Node for a given key
70func (o Object) GetNode(key string) *Node {
71 return o.GetNodeFunc(func(candidate string) bool {
72 return key == candidate
73 })
74}
75
76// GetNodeI is like GetNode, but case-insensitive
77func (o Object) GetNodeI(key string) *Node {

Callers 3

GetObjectMethod · 0.95
GetStringMethod · 0.95
matchJQueryFunction · 0.80

Calls 1

GetNodeFuncMethod · 0.95

Tested by

no test coverage detected