Skip to main content

engine

Function engine 

Source
pub fn engine(
    context: &Context,
    since: Option<&str>,
) -> Result<(Verdict, Option<Comparison>), RkError>
Expand description

The engine’s judgment for a bash or python target.

It compares the packed files with the release since, or reads those of HEAD with no release tag, then judges the commits that touched them. It answers the comparison where one ran.

§Errors

A refusal of the comparison, and a build or git failure.