Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
project_package.hpp File Reference
#include <pulp/project_package/atomic_publisher.hpp>
#include <pulp/timeline/assets.hpp>
#include <pulp/timeline/model.hpp>
#include <pulp/timeline/schema_registry.hpp>
#include <cstdint>
#include <filesystem>
#include <memory>
#include <span>
#include <vector>

Go to the source code of this file.

Classes

struct  pulp::project_package::BlobReference
 Exact package location of one SHA-256-addressed blob. More...
struct  pulp::project_package::PackageLimits
 Admission limits for untrusted project and blob bytes. More...
struct  pulp::project_package::OpenPackageResult
 Validated package generation and its package-owned working directories. More...
class  pulp::project_package::PackageWriter
 Cooperative exclusive writer for one stable package root. More...

Namespaces

namespace  pulp
namespace  pulp::project_package

Enumerations

enum class  pulp::project_package::BlobStore : std::uint8_t { pulp::project_package::Media , pulp::project_package::State , pulp::project_package::Artifact , pulp::project_package::Receipt }
 Content-addressed store within a project package. More...

Functions

runtime::Result< OpenPackageResult, PackageError > pulp::project_package::open_package (const std::filesystem::path &root, const timeline::SchemaRegistry &registry, const PackageLimits &limits={}) noexcept
 Opens and validates the sole referencing generation in a stable package root.
runtime::Result< std::vector< std::uint8_t >, PackageError > pulp::project_package::read_blob (const std::filesystem::path &root, const BlobReference &reference, std::uint64_t maximum_bytes) noexcept
 Reads a bounded blob and verifies its bytes against the reference hash.