MCPcopy Create free account
hub / github.com/gogs/gogs / IsErrKeyUnableVerify

Function IsErrKeyUnableVerify

internal/database/error.go:38–41  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

36}
37
38func IsErrKeyUnableVerify(err error) bool {
39 _, ok := err.(ErrKeyUnableVerify)
40 return ok
41}
42
43func (err ErrKeyUnableVerify) Error() string {
44 return fmt.Sprintf("Unable to verify key content [result: %s]", err.Result)

Callers 3

SettingsSSHKeysPostFunction · 0.92
SettingsDeployKeysPostFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected