std::map< std::string, ModSpec > getModsInPath(const std::string &path, const std::string &virtual_path, bool part_of_modpack=false)
Gets a list of all mods and modpacks in path.
Definition mods.cpp:148
std::vector< ModSpec > flattenMods(const std::map< std::string, ModSpec > &mods)
Definition mods.cpp:182
bool parseModContents(ModSpec &mod)
Retrieves depends, optdepends, is_modpack and modpack_content.
Definition mods.cpp:57