diff --git a/src/basic_types.rs b/src/basic_types.rs index 48f6d71..b5f377f 100644 --- a/src/basic_types.rs +++ b/src/basic_types.rs @@ -152,6 +152,11 @@ impl InstalledMod { self.files.push((file.source.clone(), file.dest.clone())); } + /// Get the id of the mod + pub fn mod_id(&self) -> String { + self.id.clone() + } + /// The priority over other mods. Only used when 2 files conflict. pub fn priority(&self) -> isize { self.priority