MCPcopy
hub / github.com/tailscale/tailscale / fatalf

Function fatalf

cmd/tailscale/cli/cli.go:357–364  ·  view source on GitHub ↗
(format string, a ...any)

Source from the content-addressed store, hash-verified

355}
356
357func fatalf(format string, a ...any) {
358 if Fatalf != nil {
359 Fatalf(format, a...)
360 return
361 }
362 log.SetFlags(0)
363 log.Fatalf(format, a...)
364}
365
366// Fatalf, if non-nil, is used instead of log.Fatalf.
367var Fatalf func(format string, a ...any)

Callers 4

doDropPrivilegesFunction · 0.85
runSetFunction · 0.85
runUpFunction · 0.85
runDebugFunction · 0.85

Calls 1

FatalfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…