![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Go to the source code of this file.
Macros | |
| #define | NIX_FOR_EACH_COMPRESSION_ALGO(MACRO) |
| #define | NIX_DEFINE_COMPRESSION_ALGO(name, value) |
Enumerations | |
| enum class | CompressionAlgo { NIX_FOR_EACH_COMPRESSION_ALGO =(NIX_DEFINE_COMPRESSION_ALGO) } |
Functions | |
| CompressionAlgo | nix::parseCompressionAlgo (std::string_view method, bool suggestions) |
| std::string | nix::showCompressionAlgo (CompressionAlgo method) |
| nix::MakeError (UnknownCompressionMethod, Error) | |
| #define NIX_DEFINE_COMPRESSION_ALGO | ( | name, | |
| value ) |
| #define NIX_FOR_EACH_COMPRESSION_ALGO | ( | MACRO | ) |
| CompressionAlgo nix::parseCompressionAlgo | ( | std::string_view | method, |
| bool | suggestions = false ) |
Parses a compression method into the corresponding enum. This is only used in the compression case and user interface. Content-Encoding should not use these.
| suggestions | Whether to throw an exception with suggestions. |