Skip to main content

export_pseudo_active

Function export_pseudo_active 

Source
pub fn export_pseudo_active(
    vault_path: &Path,
    pp: &Passphrase,
) -> Result<bool, CliError>
Expand description

Probe: would an export be gated? true when the projection is pseudo-active (a synthetic default contributes). Used by the export-snapshot CLI arm to decide whether to PROMPT for the attestation phrase; the authoritative gate lives inside export_snapshot itself. Kept in the library so main.rs stays a thin dispatch (no session-open / projection business logic in the binary).