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

Function IsErrDeployKeyNotExist

internal/database/ssh_key.go:692–695  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

690}
691
692func IsErrDeployKeyNotExist(err error) bool {
693 _, ok := err.(ErrDeployKeyNotExist)
694 return ok
695}
696
697func (err ErrDeployKeyNotExist) Error() string {
698 return fmt.Sprintf("deploy key does not exist: %v", err.args)

Callers 1

DeleteDeployKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected