| 61 | m_local_details.status = status; |
| 62 | } |
| 63 | void Mod::setMetadata(std::shared_ptr<Metadata::ModStruct>&& metadata) |
| 64 | { |
| 65 | if (status() == ModStatus::NoMetadata) |
| 66 | setStatus(ModStatus::Installed); |
| 67 | |
| 68 | m_local_details.metadata = metadata; |
| 69 | } |
| 70 | |
| 71 | std::pair<int, bool> Mod::compare(const Resource& other, SortType type) const |
| 72 | { |
no outgoing calls
no test coverage detected