We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9910e2d commit e08badaCopy full SHA for e08bada
models/git/branch.go
@@ -66,7 +66,7 @@ type ErrBranchProtected struct {
66
BranchName string
67
}
68
69
-// IsErrBranchAlreadyExists checks if an error is an ErrBranchAlreadyExists.
+// IsErrBranchProtected checks if an error is an ErrBranchProtected.
70
func IsErrBranchProtected(err error) bool {
71
_, ok := err.(ErrBranchProtected)
72
return ok
0 commit comments