pub fn write(path: &Path, vault: &Vault) -> Result<(), VaultError>Expand description
Write a vault to a .murk file as pretty-printed JSON.
Uses write-to-tempfile + rename for atomic writes — if the process is killed mid-write, the original file remains intact.