Skip to main content

resolve_trusted

Function resolve_trusted 

Source
pub fn resolve_trusted(
    cwd: &Path,
    store: &TrustStore,
    override_: Option<bool>,
    default: Option<DefaultProjectTrust>,
) -> Result<bool>
Expand description

Resolves trust without a UI: an explicit override, no resources needing trust, a stored decision, then the defaultProjectTrust setting. ask without a UI means untrusted. A store that must be read and cannot be is an error, as in pi, never trust.