MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / InstallHooks

Method InstallHooks

tools/mage/git.go:51–58  ·  view source on GitHub ↗

InstallHooks installs git hooks that help developers follow our best practices.

()

Source from the content-addressed store, hash-verified

49
50// InstallHooks installs git hooks that help developers follow our best practices.
51func (g Git) InstallHooks() error {
52 for _, hook := range gitHooks {
53 if err := g.installHook(hook); err != nil {
54 return err
55 }
56 }
57 return nil
58}
59
60func init() {
61 initDeps = append(initDeps, Git.InstallHooks)

Callers

nothing calls this directly

Calls 1

installHookMethod · 0.95

Tested by

no test coverage detected