Function dai::utility::untarFiles

Function Documentation

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

Extracts files from a tar archive.

Parameters:
  • tarPath – Path to the tar file to extract from

  • filesInTar – Vector of paths for the files within the tar to extract

  • filesOnDisk – Vector of paths where the extracted files should be written