Function dai::utility::tarFiles

Function Documentation

void dai::utility::tarFiles(const std::filesystem::path &tarPath, const std::vector<std::filesystem::path> &filesOnDisk, const std::vector<std::string> &filesInTar)

Creates a tar archive containing the specified files.

Parameters:
  • tarPath – Path where the tar file will be created

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

  • filesInTar – Vector of paths for the files within the tar archive