Skip to main content

read_manifest_bytes

Function read_manifest_bytes 

Source
pub fn read_manifest_bytes(workload: &Path) -> Result<Option<Vec<u8>>, Error>
Expand description

Raw bytes of a workload’s built route manifest, or None when it has none.

Deliberately un-deserialized (R749-T1): the policy check that consumes this has to see the manifest’s actual key set, and parsing into any struct — the full mesofact_core::Manifest or a local slice — silently discards the one thing it is looking for, a policy field this binary predates.