MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / createHooks

Function createHooks

internal/cmd/hook.go:44–46  ·  view source on GitHub ↗
(hookBaseDir string, isReplace bool)

Source from the content-addressed store, hash-verified

42}
43
44func createHooks(hookBaseDir string, isReplace bool) error {
45 return writeHooks(hookBaseDir, isReplace)
46}
47
48func writeHooks(hookDir string, isReplace bool) error {
49 // if commit-msg already exists skip creating or overwriting it

Callers 1

hookCreateFunction · 0.85

Calls 1

writeHooksFunction · 0.85

Tested by

no test coverage detected