MCPcopy
hub / github.com/perkeep/perkeep / UserServerConfigPath

Function UserServerConfigPath

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

Source from the content-addressed store, hash-verified

207}
208
209func UserServerConfigPath() string {
210 dir, err := PerkeepConfigDir()
211 if err != nil {
212 log.Fatalf("Could not compute UserServerConfigPath: %v", err)
213 }
214 return filepath.Join(dir, "server-config.json")
215}
216
217func UserClientConfigPath() string {
218 dir, err := PerkeepConfigDir()

Callers 5

parseConfigMethod · 0.92
serverKeyIdFunction · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
loadConfigFunction · 0.92

Calls 2

PerkeepConfigDirFunction · 0.85
FatalfMethod · 0.65

Tested by

no test coverage detected