Skip to main content

vault_version

Function vault_version 

Source
pub fn vault_version(conn: &Connection) -> Result<Option<String>, String>
Expand description

Current version of the stored vault, or None when the vault is empty.

This is the data_hash that save_vault writes, so it is by construction the hash of exactly the bytes on disk — no re-serialisation, no assumptions about map ordering.