IsErrRevisionNotExist returns true if the underlying error is git.ErrRevisionNotExist.
(err error)
| 33 | // IsErrRevisionNotExist returns true if the underlying error is |
| 34 | // git.ErrRevisionNotExist. |
| 35 | func IsErrRevisionNotExist(err error) bool { |
| 36 | return errors.Cause(err) == git.ErrRevisionNotExist |
| 37 | } |
| 38 | |
| 39 | // IsErrNoMergeBase returns true if the underlying error is git.ErrNoMergeBase. |
| 40 | func IsErrNoMergeBase(err error) bool { |
no outgoing calls