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

Method pre_check

src/executor/execute.rs:46–84  ·  view source on GitHub ↗

Pre-check: validate vault lock state before dispatching. Commands that require an unlocked vault will return an error if the vault is currently locked. Certain commands (unlock, recovery key unlock, initialize vault, load config, raw clipboard copy) are exempt — they do not need vault access.

(&self, command: &Command)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

executeMethod · 0.80

Calls 3

is_openMethod · 0.80
vaultMethod · 0.45
is_unlockedMethod · 0.45

Tested by

no test coverage detected