MCPcopy Index your code
hub / github.com/tailscale/tailscale / IsZero

Method IsZero

types/key/node.go:233–235  ·  view source on GitHub ↗

IsZero reports whether k is the zero value.

()

Source from the content-addressed store, hash-verified

231
232// IsZero reports whether k is the zero value.
233func (k NodePublic) IsZero() bool {
234 return k == NodePublic{}
235}
236
237// ShortString returns the Tailscale conventional debug representation
238// of a public key: the first five base64 digits of the key, in square

Callers 7

doLoginMethod · 0.95
TestNodeKeyFunction · 0.95
PeerForIPMethod · 0.95
NetworkLockInitMethod · 0.95
NetworkLockModifyMethod · 0.95
connectMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestNodeKeyFunction · 0.76