MCPcopy Create free account
hub / github.com/benbjohnson/immutable / minKey

Method minKey

immutable.go:1788–1790  ·  view source on GitHub ↗

minKey returns the lowest key stored in this node's tree.

()

Source from the content-addressed store, hash-verified

1786
1787// minKey returns the lowest key stored in this node's tree.
1788func (n *sortedMapBranchNode[K, V]) minKey() K {
1789 return n.elems[0].node.minKey()
1790}
1791
1792// indexOf returns the index of the key within the child nodes.
1793func (n *sortedMapBranchNode[K, V]) indexOf(key K, c Comparer[K]) int {

Callers

nothing calls this directly

Calls 1

minKeyMethod · 0.65

Tested by

no test coverage detected