Skip to main content

run

Function run 

Source
pub fn run(args: &StageArgs) -> Result<(), RkError>
Expand description

Stage the candidate, or remove a stage.

§Errors

Returns RkError::Missing for a target that is not a directory, the parameter resolution’s own failures, a destructive-refusal for a stage root inside the target, a state-drift refusal for an existing nonempty output, and RkError::Io for a write that fails; clean returns the refusals crate::stage::clean::validate names.