C++ Utilities 5.27.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
#include "./archive.h"
#include "../conversion/stringbuilder.h"
#include "../io/misc.h"
#include <archive_entry.h>
#include <filesystem>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | CppUtilities |
Contains all utilities provides by the c++utilities library. | |
Functions | |
CPP_UTILITIES_EXPORT void | CppUtilities::walkThroughArchiveFromBuffer (std::string_view archiveData, std::string_view archiveName, const FilePredicate &isFileRelevant, FileHandler &&fileHandler, DirectoryHandler &&directoryHandler) |
Invokes callbacks for files and directories in the specified archive. | |
CPP_UTILITIES_EXPORT FileMap | CppUtilities::extractFilesFromBuffer (std::string_view archiveData, std::string_view archiveName, const FilePredicate &isFileRelevant) |
Extracts the specified archive. | |
CPP_UTILITIES_EXPORT void | CppUtilities::walkThroughArchive (std::string_view archivePath, const FilePredicate &isFileRelevant, FileHandler &&fileHandler, DirectoryHandler &&directoryHandler) |
Invokes callbacks for files and directories in the specified archive. | |
CPP_UTILITIES_EXPORT FileMap | CppUtilities::extractFiles (std::string_view archivePath, const FilePredicate &isFileRelevant) |
Extracts the specified archive. | |