Skip to main content

create_vault

Function create_vault 

Source
pub fn create_vault(
    vault_name: &str,
    pubkey: &str,
    name: &str,
) -> Result<Vault, String>
Expand description

Create a new vault with a single recipient.

Detects the git remote URL and builds the initial vault struct. The caller is responsible for writing the vault to disk via vault::write.