ModDependencyResolver
A static class in TavernLib, TavernLib.Backend.Mods.
Works out every mod a mod needs, from the merged index and fetched manifests, for one target.
- Listed in TavernLib.Backend.Mods
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
static List<ModManifest> ResolveDependencies(ModManifest root, IReadOnlyList<ModSummary> index, Func<string, string, string, ModManifest> fetchManifest, string target) | The newest allowed version of each dependency. Prunes ones with no build for the target; throws on conflicts, cycles or a chain deeper than 5. |