MCPcopy Index your code
hub / github.com/coder/coder / Hint

Method Hint

aibridge/keypool/keypool.go:122–124  ·  view source on GitHub ↗

Hint returns a masked, identifiable fragment of the key, suitable for logs and persisted records.

()

Source from the content-addressed store, hash-verified

120// Hint returns a masked, identifiable fragment of the key, suitable
121// for logs and persisted records.
122func (k *Key) Hint() string {
123 return utils.MaskSecret(k.value)
124}
125
126// State returns the current state of the key, derived from its
127// permanent flag and cooldown deadline.

Callers 1

MarkKeyOnStatusFunction · 0.80

Calls 1

MaskSecretFunction · 0.92

Tested by

no test coverage detected