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

Function enumToString

launcher/modplatform/flame/FlameModIndex.cpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static QString enumToString(int hash_algorithm)
66{
67 switch(hash_algorithm){
68 default:
69 case 1:
70 return "sha1";
71 case 2:
72 return "md5";
73 }
74}
75
76void FlameMod::loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
77 QJsonArray& arr,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected