Skip to main content

load

Function load 

Source
pub fn load(
    root: &Utf8Path,
    canonical_target: &Path,
) -> Result<Receipt, RkError>
Expand description

Read the receipt at root and hold it to this binary and this target.

ยงErrors

RkError::Missing where no receipt reads at root, and a state-drift refusal for a receipt from another version or another target.