FindDefaultConfigPath finds the default configuration file path.
()
| 77 | |
| 78 | // FindDefaultConfigPath finds the default configuration file path. |
| 79 | func FindDefaultConfigPath() (string, bool) { |
| 80 | return findDefaultConfigPathForOS(runtime.GOOS) |
| 81 | } |
| 82 | |
| 83 | func findDefaultConfigPathForOS(goos string) (string, bool) { |
| 84 | const windowsOS = "windows" |
no test coverage detected