Skip to content
callcount

tailscale.com/ipn/ipnlocal.LocalBackend.currentNode

third-party

The 7089th most-called third-party method by production calls. Called 129 times across 1 modules; 84 of those run outside tests and generated code.

1% in production calls vs 2026-W37 (83 → 84)

All of tailscale.com/ipn/ipnlocal → Docs on pkg.go.dev ↗

prod calls
84
non-test, non-generated
all calls
129
total callsites
modules
1
distinct callers
in loop
0%
of prod calls
in tests
35%
45 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Concrete method100%A method on a value whose type is known exactly.

where it's called

Callsites in the wild

12 representative callsites of 129, prioritizing in-loop and non-test usage. We link to source, never display it.

LocalBackend.currentNode · 12 of 129 callsites
  • tailscale.com @v1.102.4

    ipn/ipnlocal/c2n_test.go:70

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/peerapi_test.go:164

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/local_test.go:2785

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/local_test.go:3932

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/local_test.go:4061

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/local_test.go:5228

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/local_test.go:5232

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/local_test.go:9001

    in loop test
  • tailscale.com @v1.102.4

    ipn/ipnlocal/drive_tomove.go:22

  • tailscale.com @v1.102.4

    ipn/ipnlocal/resolve.go:29

  • tailscale.com @v1.102.4

    ipn/ipnlocal/drive_tomove.go:29

  • tailscale.com @v1.102.4

    ipn/ipnlocal/diskcache.go:36

top callers

The modules that reach for it

The modules that call LocalBackend.currentNode most in this snapshot.

  • tailscale.com129100%

siblings

More from tailscale.com/ipn/ipnlocal

The other most-called members in this package. See all →