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

Function RepoConfigFilePath

config/config_parser/config_parser.go:78–82  ·  view source on GitHub ↗
(gitcmd git.GitInterface)

Source from the content-addressed store, hash-verified

76}
77
78func RepoConfigFilePath(gitcmd git.GitInterface) string {
79 rootdir := gitcmd.RootDir()
80 filepath := filepath.Clean(path.Join(rootdir, ".spr.yml"))
81 return filepath
82}
83
84func UserConfigFilePath() string {
85 rootdir, err := os.UserHomeDir()

Callers 1

ParseConfigFunction · 0.85

Calls 1

RootDirMethod · 0.65

Tested by

no test coverage detected