MCPcopy Create free account
hub / github.com/blues/note / Terminal

Method Terminal

lib/smazz.go:305–305  ·  view source on GitHub ↗

Terminal indicates whether n is terminal in the trie (that is, whether the path from the root to n represents an element in the set). For instance, if the root node is terminal, then []byte{} is in the trie.

()

Source from the content-addressed store, hash-verified

303// represents an element in the set). For instance, if the root node is terminal, then []byte{} is in the
304// trie.
305func (n *Node) Terminal() bool { return n.terminal }
306
307// Val gives the value associated with this node. It panics if n is not terminal.
308func (n *Node) Val() int {

Callers 1

EncodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected