MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / indexFileName

Function indexFileName

launcher/modplatform/packwiz/Packwiz.cpp:56–61  ·  view source on GitHub ↗

Helpers

Source from the content-addressed store, hash-verified

54
55// Helpers
56static inline auto indexFileName(QString const& mod_slug) -> QString
57{
58 if (mod_slug.endsWith(".pw.toml"))
59 return mod_slug;
60 return QString("%1.pw.toml").arg(mod_slug);
61}
62
63static ModPlatform::ProviderCapabilities ProviderCaps;
64

Callers 3

updateModIndexMethod · 0.85
deleteModIndexMethod · 0.85
getIndexForModMethod · 0.85

Calls 1

QStringClass · 0.85

Tested by

no test coverage detected