pub fn managed_file_specs(
game_dir: &Path,
config: &HookConfig,
) -> Vec<ManagedFileSpec>Expand description
Collects every RuleTarget::Managed rule from the loaded config, in
config order. Relative local paths are resolved against game_dir
exactly like HookResolver::load does, so this accepts either a
loaded resolver’s config (absolute) or a raw authored one (relative).
Rules whose glob is not literal are skipped here, a wildcard glob
cannot name the single file a remote URL provides, and
crate::mod_config::ModConfig::validate already rejects them with a
proper error at load time; this scan just stays defensive.