Skip to main content

compute_target_state

Function compute_target_state 

Source
pub fn compute_target_state(
    target: &Utf8Path,
    options: &InitOptions,
    bundle: &dyn ReleaseBundle,
) -> Result<TargetState, AppError>
Expand description

What one landing would put in a target.

ยงErrors

AppError::Refused when the release declares no such profile or a marked region cannot be read, and I/O errors reading the target.