File indexing completed on 2024-04-28 13:41:41
0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0002 // SPDX-FileCopyrightText: 2017-2020 Harald Sitter <sitter@kde.org> 0003 0004 #include "DebugPackage.h" 0005 0006 bool DebugPackage::isCompatibleWith(const QString &id) 0007 { 0008 return isCompatibleWith(Package(id)); 0009 } 0010 0011 bool DebugPackage::isCompatibleWith(const Package &package) 0012 { 0013 return version == package.version && arch == package.arch; 0014 }