Skip to main content

secrets_exist

Function secrets_exist 

Source
pub fn secrets_exist() -> bool
Expand description

Checks if the encrypted secrets file exists.

§Returns

true if the secrets file exists, false otherwise.

§Example

if secrets_exist() {
    println!("Secrets file exists.");
} else {
    println!("Secrets file does not exist.");
}