MCPcopy Create free account
hub / github.com/codehamr/codehamr / redactSlash

Function redactSlash

internal/tui/debuglog.go:67–76  ·  view source on GitHub ↗

redactSlash strips the /hamrpass bearer token before it lands in any log. A central hook covers any future secret-bearing command from one place. The split mirrors runSlash's strings.Fields: both must agree on command vs. args, else a multi-line `/hamrpass\n ` (Alt+Enter inserts a literal

(line string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

submitMethod · 0.85

Calls

no outgoing calls

Tested by 1