Skip to main content

ensure

Function ensure 

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

Reads the identity, creating it the first time: a new vault_id, a new instance_id, epoch 1, active. An existing vault gets one the first time it is opened by a build that knows about this.