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

Function outName

cmd/tailscale/cli/debug.go:428–436  ·  view source on GitHub ↗
(dst string)

Source from the content-addressed store, hash-verified

426}
427
428func outName(dst string) string {
429 if dst == "-" {
430 return "stdout"
431 }
432 if runtime.GOOS == "darwin" {
433 return fmt.Sprintf("%s (warning: sandboxed macOS binaries write to Library/Containers; use - to write to stdout and redirect to file instead)", dst)
434 }
435 return dst
436}
437
438func runDebug(ctx context.Context, args []string) error {
439 if len(args) > 0 {

Callers 1

runDebugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…