缩减代码
This commit is contained in:
@@ -33,13 +33,6 @@ struct Archive_Write_Options {
|
||||
Psc::expected<void, std::string> validate_archive_layout_from_memory(const char* data, std::size_t size,
|
||||
const Archive_Layout_Rules& rules);
|
||||
void unarchive_file(const std::filesystem::path& zipPath, const std::filesystem::path& outDir);
|
||||
void unarchive_from_memory(const char* data, size_t size, const std::filesystem::path& outDir);
|
||||
void archive_directory(const std::filesystem::path& dirPath, const std::filesystem::path& archive_path,
|
||||
const Archive_Write_Options& options = {});
|
||||
// std::string zip_directory_to_memory(const std::filesystem::path& dirPath,
|
||||
// const
|
||||
// std::vector<std::filesystem::path>&
|
||||
// ignoreDirs);
|
||||
std::string archive_directory_to_memory(const std::filesystem::path& dirPath,
|
||||
const std::vector<std::string>& ignorePatterns,
|
||||
const Archive_Write_Options& options = {});
|
||||
|
||||
Reference in New Issue
Block a user