11 void* pmz_zip_writer_instance_ =
nullptr;
12 void* pzip_handle_ =
nullptr;
13 void Create()
override;
14 mz_zip_file fileInfo_ = {};
16 int32_t CloseInternal();
17 void DeleteInternal();
20 explicit ArchiveWriter(
const std::filesystem::path& archivePath);
24 int32_t Close()
override;
25 void Delete()
override;
31 int32_t AddFileInArchive(
const FileBuffer& FileBufferToAdd);
32 int32_t AddFileInArchive(
const std::filesystem::path& FileToAdd);
33 int32_t AddPathInArchive(
const std::filesystem::path& path_to_add,
34 const std::filesystem::path& root_path);
36 void* InternalPointer()
const override
38 return pmz_zip_writer_instance_;