20#ifndef ORES_COMPUTE_WRAPPER_FILESYSTEM_ARCHIVER_HPP
21#define ORES_COMPUTE_WRAPPER_FILESYSTEM_ARCHIVER_HPP
25namespace ores::compute::wrapper::filesystem {
46 static void pack(
const std::filesystem::path& source_dir,
47 const std::filesystem::path& output_archive);
57 static void extract(
const std::filesystem::path& archive_path,
58 const std::filesystem::path& dest_dir);
Cross-platform .tar.gz archive operations using libarchive.
Definition archiver.hpp:35
static void extract(const std::filesystem::path &archive_path, const std::filesystem::path &dest_dir)
Extract a .tar.gz archive into a destination directory.
Definition archiver.cpp:98
static void pack(const std::filesystem::path &source_dir, const std::filesystem::path &output_archive)
Pack a directory tree into a .tar.gz archive.
Definition archiver.cpp:53