#include <pulp/format/reload/swap_pack.hpp>#include <pulp/view/reload_autocaps.hpp>#include <pulp/runtime/crypto.hpp>#include <algorithm>#include <cstdint>#include <filesystem>#include <fstream>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | pulp::format::reload::PackBuildResult |
Namespaces | |
| namespace | pulp |
| namespace | pulp::format |
| What the product grants a device: the quota table indexed by capability tier and live thermal state. | |
| namespace | pulp::format::reload |
Functions | |
| std::string | pulp::format::reload::pack_read_all_bytes (const std::filesystem::path &p) |
| PackBuildResult | pulp::format::reload::build_signable_manifest (const std::filesystem::path &bundle_dir, const std::string &plugin_id, std::uint64_t pack_version, const std::string &update_channel) |
Walk bundle_dir, hash each regular file into a manifest entry (path relative to the bundle root, POSIX separators), and infer declared_capabilities by running autocaps over the concatenated JS. | |