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

Function hamrpassValidate

internal/tui/slash.go:241–258  ·  view source on GitHub ↗

hamrpassValidate is the single source of truth for whether a key is acceptable and what the UI says about it. Shared by the inline /hamrpass handler and the arg popover hint. ok=false with an empty trimmed key is the "show status block" signal. Non-printable/non-ASCII runes are rejected up front: h

(raw string)

Source from the content-addressed store, hash-verified

Callers 3

hamrpassArgHintFunction · 0.85
cmdHamrpassMethod · 0.85

Calls

no outgoing calls

Tested by 1