| 105 | } |
| 106 | |
| 107 | bool ModModel::checkFilters(ModPlatform::IndexedPack::Ptr pack) |
| 108 | { |
| 109 | if (!m_filter) |
| 110 | return true; |
| 111 | return !(m_filter->hideInstalled && isPackInstalled(pack)) && checkSide(m_filter->side, pack->side); |
| 112 | } |
| 113 | |
| 114 | bool ModModel::checkVersionFilters(const ModPlatform::IndexedVersion& v) |
| 115 | { |
nothing calls this directly
no test coverage detected