()
| 215 | } |
| 216 | |
| 217 | func 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 |
no test coverage detected