#include "MRMeshFwd.h"
#include "MRProgressCallback.h"
#include "MRExpected.h"
#include <filesystem>
#include <vector>
Go to the source code of this file.
|
MRMESH_API Expected< void > | MR::decompressZip (const std::filesystem::path &zipFile, const std::filesystem::path &targetFolder, const char *password=nullptr) |
| decompresses given zip-file into given folder
|
|
MRMESH_API Expected< void > | MR::decompressZip (std::istream &zipStream, const std::filesystem::path &targetFolder, const char *password=nullptr) |
| decompresses given binary stream (containing the data of a zip file only) into given folder
|
|
MRMESH_API Expected< void > | MR::compressZip (const std::filesystem::path &zipFile, const std::filesystem::path &sourceFolder, const std::vector< std::filesystem::path > &excludeFiles={}, const char *password=nullptr, ProgressCallback cb={}) |
| compresses given folder in given zip-file
|
|