| 46 | } |
| 47 | |
| 48 | Hashing::Hasher::Ptr EnsureMetadataTask::createNewHash(Mod* mod) |
| 49 | { |
| 50 | if (!mod || !mod->valid() || mod->type() == ResourceType::FOLDER) |
| 51 | return nullptr; |
| 52 | |
| 53 | return Hashing::createHasher(mod->fileinfo().absoluteFilePath(), m_provider); |
| 54 | } |
| 55 | |
| 56 | QString EnsureMetadataTask::getExistingHash(Mod* mod) |
| 57 | { |
nothing calls this directly
no test coverage detected