Skip to main content

ensure_keys_in

Function ensure_keys_in 

Source
pub fn ensure_keys_in(
    config_dir: &Path,
    data_dir: Option<&Path>,
    config: Option<&Config>,
) -> Result<(Keys, bool)>
Expand description

Ensure keys exist inside an explicit config directory. Returns (Keys, was_generated)