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

Method String

internal/config.go:27–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25type ConfigType byte
26
27func (c ConfigType) String() string {
28 switch c {
29 case DefaultConfig:
30 return "Default"
31 case EnvConfig:
32 return "Env"
33 case FileConfig:
34 return "File"
35 default:
36 return "Unknown"
37 }
38}
39
40// LookupConfigPath returns config file path following below order
41// 1. env path

Callers 8

newLintCmdFunction · 0.45
newInitCmdFunction · 0.45
newConfigCmdFunction · 0.45
newHookCmdFunction · 0.45
printDebugFunction · 0.45
getGitVersionFunction · 0.45
getGitHookConfigFunction · 0.45
getRepoRootDirFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected