1 #ifndef TAR_GZ_CREATOR_H
2 #define TAR_GZ_CREATOR_H
12 bool createTar(
const std::string& tarFilePath,
const std::vector<std::string>& filePaths,
const std::string& basePath);
13 bool compressToGz(
const std::string& tarFilePath,
const std::string& gzFilePath);
14 std::vector<std::string> collectFilesFromFolders(
const std::vector<std::string>& folders);
15 bool decompressGz(
const std::string& gzFilePath,
const std::string& outputFilePath);
16 bool unpackTar(
const std::string& tarFilePath,
const std::string& outputFolderPath);
17 bool emptyFolder(
const std::string& folderPath);
20 void add_file_to_tar(TAR *tar,
const std::string& path,
21 const std::string& basePath);
22 std::mutex folderMutex;
Definition: tar_gz_creator.h:9