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

Function IsErrPullRequestNotExist

internal/database/pull.go:560–563  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

558}
559
560func IsErrPullRequestNotExist(err error) bool {
561 _, ok := err.(ErrPullRequestNotExist)
562 return ok
563}
564
565func (err ErrPullRequestNotExist) Error() string {
566 return fmt.Sprintf("pull request does not exist: %v", err.args)

Callers 3

CompareAndPullRequestFunction · 0.92
NewCommentFunction · 0.92
loadAttributesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected