Skip to content
callcount

tailscale.com/ipn/ipnlocal.LocalBackend.currentNode

third-party

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

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

prod calls
83
non-test, non-generated
all calls
128
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 128, prioritizing in-loop and non-test usage. We link to source, never display it.

LocalBackend.currentNode · 12 of 128 callsites
  • tailscale.com @v1.102.2

    ipn/ipnlocal/c2n_test.go:70

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/peerapi_test.go:164

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local_test.go:2691

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local_test.go:3838

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local_test.go:3967

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local_test.go:5134

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local_test.go:5138

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local_test.go:8907

    in loop test
  • tailscale.com @v1.102.2

    ipn/ipnlocal/drive_tomove.go:22

  • tailscale.com @v1.102.2

    ipn/ipnlocal/drive_tomove.go:29

  • tailscale.com @v1.102.2

    ipn/ipnlocal/resolve.go:29

  • tailscale.com @v1.102.2

    ipn/ipnlocal/diskcache.go:36

top callers

The modules that reach for it

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

  • tailscale.com128100%

siblings

More from tailscale.com/ipn/ipnlocal

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