20namespace asset_compiler
60auto save_manifest(
const fs::path& manifest_path,
const asset_manifest& manifest) -> bool;
63auto load_manifest(
const fs::path& manifest_path, asset_manifest& manifest) -> bool;
70 const asset_manifest& manifest,
71 const std::vector<fs::path>& dependency_paths) -> bool;
auto get_format_version() -> uint64_t
constexpr uint64_t current_source_fingerprint_version
xxHash3 128-bit fingerprints (hex). Bump when the hashing or dependency-ordering scheme changes.
auto get_manifest_path(const fs::path &compiled_asset_path) -> fs::path
Generate manifest file path from compiled asset path.
auto is_compiled_format_changed(const fs::path &source_path, const asset_manifest &manifest) -> bool
auto is_fingerprint_algorithm_current(const asset_manifest &manifest) -> bool
auto save_manifest(const fs::path &manifest_path, const asset_manifest &manifest) -> bool
Save manifest to file.
auto is_source_file_changed(const fs::path &source_path, const asset_manifest &manifest) -> bool
Check if source file has changed compared to manifest (source-only)
auto load_manifest(const fs::path &manifest_path, asset_manifest &manifest) -> bool
Load manifest from file.
Manifest data for compiled assets.
uint64_t format_version
Version of the compiled format.
asset_manifest(const fs::path &key)
std::string source_fingerprint
Content fingerprint of source inputs (xxHash3 128-bit hex).
void compute_source_fingerprint(const fs::path &source_key)
Compute fingerprint from source file only.
uint64_t fingerprint_version
Fingerprint algorithm version. Legacy manifests use 0 (SHA1).