MCPcopy Create free account
hub / github.com/LunaSource/Luna / GetDefaultConfig

Function GetDefaultConfig

config/config.go:49–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47func (i configItem) FilterValue() string { return i.value }
48
49func GetDefaultConfig() Config {
50 return Config{
51 IgnoredFiles: []string{},
52 IgnoredPatterns: []string{"*.exe", "*.dll", "*.png", "*.jpg", "*.jpeg", "*.gif", "*.bin"},
53 CommitPrefixes: []string{"chore:", "refactor:", "feat:", "fix:", "docs:", "test:"},
54 MaxCommitLength: 72,
55 DefaultEmoji: false,
56 ApiKey: "",
57 }
58}
59
60func LoadConfig() Config {
61 projectCfg := LoadProjectConfig()

Callers 4

LoadGlobalConfigFunction · 0.85
LoadProjectConfigFunction · 0.85
createProjectConfigFunction · 0.85
createGlobalConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected