MCPcopy Index your code
hub / github.com/koding/kite / HasValue

Method HasValue

kontrol/node.go:27–29  ·  view source on GitHub ↗

HasValue returns true if the give node has a non-empty value

()

Source from the content-addressed store, hash-verified

25
26// HasValue returns true if the give node has a non-empty value
27func (n *Node) HasValue() bool {
28 return n.Node.Value != ""
29}
30
31// Flatten converts the recursive etcd directory structure to a flat one that
32// contains all kontrolNodes

Callers 1

GetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected