sascha-andres/git-commit

View on GitHub
subcommands/create_commit_hook_file_path.go

Summary

Maintainability
A
0 mins
Test Coverage
package subcommands

import "path"

const gitCommitMessageHookName = "commit-msg"

func createCommitHookFilePath(gitFolderPath string) string {
    commitHookFilePath := path.Join(gitFolderPath, "hooks", gitCommitMessageHookName)

    return commitHookFilePath
}