collect_default_config_files

Function collect_default_config_files 

Source
fn collect_default_config_files(
    dirs: &[impl AsRef<Path>],
) -> BTreeMap<Os, ConfigFile>
Expand description

Collects all valid default config files from a list of input dirs.

Load logic follows the Configuration Files specification. Creates a map of target OSes and relevant file path locations. All masked config files are ignored. Default config files are sorted and read according to the UAPI config file specification.