From 3ad7fecdb6458fdd6f146bed19fe643c7f93e905 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 7 Nov 2023 15:18:06 +0800 Subject: refactor: remove CommonUtils at core --- src/core/function/ArchiveFileOperator.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/core/function/ArchiveFileOperator.h') diff --git a/src/core/function/ArchiveFileOperator.h b/src/core/function/ArchiveFileOperator.h index e4bf2011..7cbe644c 100644 --- a/src/core/function/ArchiveFileOperator.h +++ b/src/core/function/ArchiveFileOperator.h @@ -35,13 +35,32 @@ namespace GpgFrontend { class GPGFRONTEND_CORE_EXPORT ArchiveFileOperator { public: + /** + * @brief + * + * @param archive_path + */ static void ListArchive(const std::filesystem::path &archive_path); + /** + * @brief Create a Archive object + * + * @param base_path + * @param archive_path + * @param compress + * @param files + */ static void CreateArchive(const std::filesystem::path &base_path, const std::filesystem::path &archive_path, int compress, const std::vector &files); + /** + * @brief + * + * @param archive_path + * @param base_path + */ static void ExtractArchive(const std::filesystem::path &archive_path, const std::filesystem::path &base_path); }; -- cgit v1.2.3