Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::state::ContentInstallLimits Struct Reference

Caps on what an archive may inflate to. More...

#include <content_install_limits.hpp>

Public Attributes

std::uint64_t max_total_bytes = std::uint64_t{4} << 30
 Sum of every entry's declared size.
std::uint64_t max_entry_bytes = std::uint64_t{1} << 30
 Any single entry's declared size.
std::uint64_t max_entries = 65536
 Number of file entries.

Detailed Description

Caps on what an archive may inflate to.

Callers that stage packs into a constrained location override the defaults; the CLI exposes the total as --max-pack-bytes.

Member Data Documentation

◆ max_entries

std::uint64_t pulp::state::ContentInstallLimits::max_entries = 65536

Number of file entries.

The hash check cross-references every archived payload against the declared list, so this cap bounds that work as the byte caps bound inflation.

◆ max_entry_bytes

std::uint64_t pulp::state::ContentInstallLimits::max_entry_bytes = std::uint64_t{1} << 30

Any single entry's declared size.

◆ max_total_bytes

std::uint64_t pulp::state::ContentInstallLimits::max_total_bytes = std::uint64_t{4} << 30

Sum of every entry's declared size.


The documentation for this struct was generated from the following file: