configPath returns the full path to the config file.
(baseDir string)
| 40 | |
| 41 | // configPath returns the full path to the config file. |
| 42 | func configPath(baseDir string) string { |
| 43 | return filepath.Join(baseDir, configFile) |
| 44 | } |
| 45 | |
| 46 | // Exists checks if the config file exists. |
| 47 | func Exists(baseDir string) bool { |