Function dai::utility::archiveFiles

Function Documentation

void dai::utility::archiveFiles(const std::filesystem::path &archivePath, const std::vector<std::filesystem::path> &filesOnDisk, const std::vector<std::string> &filesInArchive)

Creates a tar archive containing the specified files.

Parameters:
  • archivePath – Path where the archive file will be created

  • filesOnDisk – Vector of paths to file on the host filesystem to include in the archive

  • filesInArchive – Vector of paths for the files within the archive