#include <ArchiveExtractor.h>
Definition at line 12 of file ArchiveExtractor.h.
◆ e7zExitCode
| Enumerator |
|---|
| Success | |
| Warning | |
| FatalError | |
| CommandLineError | |
| NotEnoughMemory | |
| UserStopped | |
Definition at line 16 of file ArchiveExtractor.h.
◆ ArchiveExtractor()
| Utils::ArchiveExtractor::ArchiveExtractor |
( |
const std::string & |
path, |
|
|
bool |
bExtractLzmaInProc = false, |
|
|
bool |
bExtractLzmaUsing7Zip = true |
|
) |
| |
◆ CompressDir()
| bool Utils::ArchiveExtractor::CompressDir |
( |
const std::string & |
srcDir, |
|
|
const std::string & |
destDir, |
|
|
const std::string & |
archiveName, |
|
|
std::string & |
fileOut, |
|
|
CompressionType |
type = CompressionType::TarGzip |
|
) |
| |
|
static |
◆ Extract() [1/2]
| bool Utils::ArchiveExtractor::Extract |
( |
| ) |
|
◆ Extract() [2/2]
| bool Utils::ArchiveExtractor::Extract |
( |
const std::string & |
destinationPath | ) |
|
◆ GetExtractionDirectory()
| std::string Utils::ArchiveExtractor::GetExtractionDirectory |
( |
| ) |
const |
◆ GetPath()
| path Utils::ArchiveExtractor::GetPath |
( |
| ) |
const |
◆ getUncompressedFilePath()
| path Utils::ArchiveExtractor::getUncompressedFilePath |
( |
const std::filesystem::path & |
directory, |
|
|
const std::string & |
filename |
|
) |
| |
|
static |
◆ IsArchiveTypeSupported() [1/2]
| static bool Utils::ArchiveExtractor::IsArchiveTypeSupported |
( |
const std::filesystem::path & |
file | ) |
|
|
static |
◆ IsArchiveTypeSupported() [2/2]
| bool Utils::ArchiveExtractor::IsArchiveTypeSupported |
( |
const std::string & |
file | ) |
|
|
static |
◆ ALLOW_ALL_ARCHIVE_EXTENSION_TYPES
| constexpr bool Utils::ArchiveExtractor::ALLOW_ALL_ARCHIVE_EXTENSION_TYPES = false |
|
inlinestaticconstexpr |
◆ SupportedExtensions
| constexpr const char* Utils::ArchiveExtractor::SupportedExtensions[] = { "tgz", "tar.gz", "gz", "zip", "Z", "gzip", "tar" } |
|
inlinestaticconstexpr |
The documentation for this class was generated from the following files: