pub fn read(profile_dir: &Path) -> Result<Vec<ProfileMod>>Expand description
Reads <profile_dir>/mods.yml. A missing file is an empty list (a fresh
profile), matching r2modman treating an absent list as [].
A read or parse failure names the file in its message, so a caller does not need to prepend the path itself.