21 const char * password =
nullptr );
57[[deprecated(
"Use compressZip( zipFile, sourceFolder, settings )" )]]
59 const std::vector<std::filesystem::path>& excludeFiles,
const char * password =
nullptr,
ProgressCallback cb = {} );
#define MRMESH_API
Definition MRMeshFwd.h:80
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:753
tl::expected< T, E > Expected
Definition MRExpected.h:31
Expected< void > decompressZip(const std::filesystem::path &zipFile, const std::filesystem::path &targetFolder, const char *password=nullptr)
decompresses given zip-file into given folder
Expected< void > compressZip(const std::filesystem::path &zipFile, const std::filesystem::path &sourceFolder, const CompressZipSettings &settings={})
compresses given folder in given zip-file
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
std::string password
if password is given then the archive will be encrypted
Definition MRZip.h:39
std::vector< std::filesystem::path > excludeFiles
files that should not be included to result zip
Definition MRZip.h:32
int compressionLevel
Definition MRZip.h:36
ProgressCallback cb
an option to get progress notifications and cancel the operation
Definition MRZip.h:42