blob: 299bd371269e615fbe4322331a4181b3bbf1b1c5 [file] [log] [blame]
Stefan Herbrechtsmeiercd15b642022-08-19 16:25:38 +02001# SPDX-License-Identifier: GPL-2.0+
2# Copyright (C) 2022 Weidmüller Interface GmbH & Co. KG
3# Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
4#
5"""Bintool implementation for zstd
6
7zstd allows compression and decompression of files.
8
9Documentation is available via::
10
11 man zstd
12"""
13
14from binman import bintool
15
16# pylint: disable=C0103
17class Bintoolzstd(bintool.BintoolPacker):
18 """Compression/decompression using the zstd algorithm
19
20 This bintool supports running `zstd` to compress and decompress data, as
21 used by binman.
22
23 It is also possible to fetch the tool, which uses `apt` to install it.
24
25 Documentation is available via::
26
27 man zstd
28 """
29 def __init__(self, name):
30 super().__init__(name)