C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
archive.cpp File Reference
#include "./archive.h"
#include "../conversion/stringbuilder.h"
#include "../io/misc.h"
#include <archive_entry.h>
#include <filesystem>
#include <utility>
Include dependency graph for archive.cpp:

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.