LoadConfig loads the configuration at the given path, regardless if it's a file or directory.
(path string)
| 533 | // LoadConfig loads the configuration at the given path, regardless if |
| 534 | // it's a file or directory. |
| 535 | func LoadConfig(path string) (*Config, error) { |
| 536 | cfg, _, err := LoadConfigCheckDuplicate(path) |
| 537 | return cfg, err |
| 538 | } |
| 539 | |
| 540 | // LoadConfigCheckDuplicate is the same as the above function but also checks for duplicate attributes |
| 541 | // TODO (HCL_DUP_KEYS_DEPRECATION): keep only LoadConfig once deprecation is complete |
nothing calls this directly
no test coverage detected
searching dependent graphs…