mcpp index

huxerui.archive

import

Archive and stream compression library (ZIP, TAR, TAR.GZ, TAR.ZST, gzip, Zstandard) for HuxerUI

import huxerui.archive;

模組名讀自上游 modules/archive.cppm 裡的 `export module` 宣告。

mcpp add huxerui.archive@0.1.1

用法

來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。

import std;
import huxerui.archive;

namespace {

using huxerui::Bytes;
using huxerui::File;
using huxerui::IoResult;
using namespace huxerui::archive;

struct TempDirGuard {
    std::filesystem::path path;
    ~TempDirGuard() {
        std::error_code ec;
        std::filesystem::remove_all(path, ec);
    }
};

bool Check(bool cond, std::string_view label, int& failures) {
    if (!cond) {
        std::cerr << "FAIL: " << label << '\n';
        ++failures;
// …

tests/examples/huxerui-archive/tests/archive.cpp · 專案 tests/examples/huxerui-archive

建置 · 上游資訊清單

modules
huxerui.archive
targets
huxerui_archive (lib), archive (lib)
language
c++23
manifest version
0.1.1
dependencies
huxerui, compat
來源
https://raw.githubusercontent.com/HuxerUI/Lib-Archive/v0.1.1/mcpp.toml

版本

版本平台 鏡像sha256
0.1.1 最新 LinuxWindowsmacOS 來源 0bc89691c19a…