Skip to main content

plan

Function plan 

Source
pub fn plan(entries: &[Value], items: &[Imported], force: bool) -> Vec<Plan>
Expand description

Decide, for each incoming seed, what should happen to it.

The rule that matters is Plan::Conflict. A stored second factor is not recoverable from UnENVerse’s side once it is gone, and an import is exactly the moment a stale export gets pointed at a vault that has since been re-enrolled. Silently taking the incoming value there would lock the user out of an account at the moment they believe they are backing one up.