MCPcopy 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
111func isHookExists(err error) bool {
112 return errors.Is(err, errHooksExist)
113}
114
115func isConfExists(err error) bool {
116 return errors.Is(err, errConfigExist)

Callers 2

newInitCmdFunction · 0.85
newHookCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected