os/exec.LookPath
standard libraryThe 588th most-called standard-library function by production calls. Called 1,808 times across 315 modules; 1,273 of those run outside tests and generated code.
- prod calls
- 1,273
- non-test, non-generated
- all calls
- 1,808
- total callsites
- modules
- 315
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 30%
- 535 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into LookPath from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 122 10%
- containerd 69 5%
- Docker 62 5%
- Tailscale 26 2%
- InfluxDB 17 1%
where it's called
Callsites in the wild
12 representative callsites of 1,808, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
- in loop
-
Jguer/yay @v8.1173.0+incompatible
in loop - in loop
-
abiosoft/colima @v0.10.3
in loop - in loop
- in loop
-
cheat/cheat @v0.0.0-20260216134545-b8098dc1b9de
in loop
top callers
The modules that reach for it
The modules that call LookPath most in this snapshot.
- github.com/gastownhall/gastown674%
- github.com/steveyegge/gastown674%
- github.com/ollama/ollama493%
- github.com/chenhg5/cc-connect483%
- github.com/gastownhall/beads392%
siblings
More from os/exec
The other most-called functions in this package. See all →