Skip to main content

save_identity

Function save_identity 

Source
pub fn save_identity(dir: &Path, identity: &Identity) -> Void
Expand description

Writes the identity’s seed to dir/key with owner-only (0600) permissions.

§Errors

Returns an error if the directory or file cannot be created or written.