pub fn projection(
tech: &str,
forge: &str,
repo: &str,
scopes: &[String],
workflow: Workflow,
style: Option<Style>,
nix: bool,
) -> Result<Vec<Entry>, RkError>Expand description
The whole payload projection for one pair.
Under the repo, scopes, 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.