MCPcopy Index your code
hub / github.com/jetify-com/devbox / FHidableWarning

Function FHidableWarning

internal/ux/messages.go:70–75  ·  view source on GitHub ↗
(ctx context.Context, w io.Writer, format string, a ...any)

Source from the content-addressed store, hash-verified

68}
69
70func FHidableWarning(ctx context.Context, w io.Writer, format string, a ...any) {
71 if isHidden(ctx, format) {
72 return
73 }
74 Fwarningf(w, format, a...)
75}
76
77func isHidden(ctx context.Context, format string) bool {
78 isHidden, _ := ctx.Value(ctxKey(format)).(bool)

Callers 5

GetStorePathsMethod · 0.92
shellEnvFuncFunction · 0.92
runShellCmdFunction · 0.92
runScriptCmdFunction · 0.92
ensureStateIsUpToDateMethod · 0.92

Calls 2

isHiddenFunction · 0.85
FwarningfFunction · 0.85

Tested by

no test coverage detected