Skip to main content

projection

Function projection 

Source
pub fn projection(
    source: &dyn ReleaseSource,
    params: &Params,
) -> Result<Vec<Entry>, RkError>
Expand description

The whole payload projection for one pair, from the bundle source carries.

Under the repo, workflow, style, and nix parameters: every snippet with its kind and rendered bytes, plus the routing block and the hook block — each a pure function of the recorded mode — sorted by destination. The Nix destinations project only where nix is on; a pair that ships none of them honestly projects the smaller product.

§Errors

Returns the pair_files errors, and RkError::Other for a snippet destination the kind table does not classify, which is a defect in this binary.