Exists checks whether the yaml file for the config exists or the configs.yaml exists
()
| 607 | |
| 608 | // Exists checks whether the yaml file for the config exists or the configs.yaml exists |
| 609 | func (l *configLoader) Exists() bool { |
| 610 | return configExistsInPath(ConfigPath(l.absConfigPath)) |
| 611 | } |
| 612 | |
| 613 | // SetDevSpaceRoot checks the current directory and all parent directories for a .devspace folder with a config and sets the current working directory accordingly |
| 614 | func (l *configLoader) SetDevSpaceRoot(log log.Logger) (bool, error) { |