| 63 | } |
| 64 | |
| 65 | static 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 | |
| 76 | void FlameMod::loadIndexedPackVersions(ModPlatform::IndexedPack& pack, |
| 77 | QJsonArray& arr, |
no outgoing calls
no test coverage detected