MCPcopy
hub / github.com/perkeep/perkeep / UserClientConfigPath

Function UserClientConfigPath

internal/osutil/paths.go:217–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215}
216
217func UserClientConfigPath() string {
218 dir, err := PerkeepConfigDir()
219 if err != nil {
220 log.Fatalf("Could not compute UserClientConfigPath: %v", err)
221 }
222 return filepath.Join(dir, "client-config.json")
223}
224
225// If set, flagSecretRing overrides the JSON config file
226// ~/.config/perkeep/client-config.json

Callers 7

AddFlagsFunction · 0.92
parseConfigMethod · 0.92
printConfigChangeHelpFunction · 0.92
NewFunction · 0.92
errors.goFile · 0.92
writeConfigMethod · 0.92

Calls 2

PerkeepConfigDirFunction · 0.85
FatalfMethod · 0.65

Tested by

no test coverage detected