Skip to main content

get_retention_mode

Function get_retention_mode 

Source
pub fn get_retention_mode(
    root: impl AsRef<Path>,
    real_pin: &str,
) -> Result<RetentionMode, String>
Expand description

Read the decoy-audit retention policy (real-lane setting). Requires the real PIN; defaults to RetentionMode::AutoArchive when never set.