Skip to main content

open_encrypted_noting

Function open_encrypted_noting 

Source
pub fn open_encrypted_noting(
    primary: &Path,
    paths: &Paths,
    output: Output,
    only: Option<&[PathBuf]>,
    writable: bool,
    password: Option<String>,
    reads: &Arc<Reads>,
    ask: impl FnMut(bool) -> Option<String>,
    slow: impl FnMut(&Path, u64),
) -> Result<(State, Option<String>)>
Expand description

open_encrypted, calling slow with a file and its size before a password check that decodes all of it (see Job::slow_password_check), so a front end can say it may take a while.