Coverage for diffoscope/comparators/ipk.py: 100%
4 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-04-07 13:38 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-04-07 13:38 +0000
1#
2# diffoscope: in-depth comparison of files, archives, and directories
3#
4# Copyright © 2015 Reiner Herrmann <reiner@reiner-h.de>
5# Copyright © 2015 Jérémy Bobbio <lunar@debian.org>
6# Copyright © 2015-2018, 2020 Chris Lamb <lamby@debian.org>
7#
8# diffoscope is free software: you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
12#
13# diffoscope is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
21from .gzip import GzipFile
24class IpkFile(GzipFile):
25 DESCRIPTION = "OpenWRT package archives (.ipk)"
26 FILE_EXTENSION_SUFFIX = {".ipk"}