MCPcopy Create free account
hub / github.com/basecamp/hey-cli / globalConfigPath

Function globalConfigPath

internal/config/config.go:87–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func globalConfigPath() string {
88 dir := ConfigDir()
89 if dir == "" {
90 return ""
91 }
92 return filepath.Join(dir, configFile)
93}
94
95func localConfigPath() string {
96 // Walk up from cwd looking for .hey/config.json

Callers 3

LoadFunction · 0.85
LoadOldFunction · 0.85
SaveMethod · 0.85

Calls 1

ConfigDirFunction · 0.85

Tested by

no test coverage detected