Function validate_config

Source
fn validate_config(
    file_path: &str,
    contents: &str,
    config: &Config,
) -> Result<(), Error>
Expand description

Validates the configuration by checking if the original config file matches the filled config

If the original config is missing fields, it updates the file with any missing fields