MCPcopy Create free account
hub / github.com/ejoffe/spr / UserConfigFilePath

Function UserConfigFilePath

config/config_parser/config_parser.go:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func UserConfigFilePath() string {
85 rootdir, err := os.UserHomeDir()
86 check(err)
87 filepath := filepath.Clean(path.Join(rootdir, ".spr.yml"))
88 return filepath
89}
90
91func InternalConfigFilePath() string {
92 rootdir, err := os.UserHomeDir()

Callers 1

ParseConfigFunction · 0.85

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected