Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/conventionalcommit/commitlint
/ isHookExists
Function
isHookExists
internal/cmd/hook.go:111–113 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
109
}
110
111
func
isHookExists(err error) bool {
112
return
errors.Is(err, errHooksExist)
113
}
114
115
func
isConfExists(err error) bool {
116
return
errors.Is(err, errConfigExist)
Callers
2
newInitCmd
Function · 0.85
newHookCmd
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected