MCPcopy Create free account
hub / github.com/OpenKeyring/oak-keyring / handle_restore_database_from_cloud

Function handle_restore_database_from_cloud

src/executor/sync.rs:603–727  ·  view source on GitHub ↗

Restore vault.db from cloud sync (pull-only, never pushes empty local state). Creates a file-backed vault.db, unlocks it with the cached or provided master password, then pulls remote metadata and records directly from cloud storage and applies them to the reopened vault.

(
    executor: &mut CommandExecutor,
    master_password: Option<SecureStr>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 14

passwordMethod · 0.80
commitMethod · 0.80
db_page_keyMethod · 0.45
unlockMethod · 0.45
restore_pull_onlyMethod · 0.45