MCPcopy Create free account

hub / github.com/OpenKeyring/oak-keyring / functions

Functions5,714 in github.com/OpenKeyring/oak-keyring

↓ 651 callersMethodclone
(&self)
src/tui/state/generator_state.rs:539
↓ 359 callersMethoditer
(&self)
src/types/recovery_words.rs:54
↓ 350 callersMethodlen
(&self)
src/types/sensitive.rs:73
↓ 333 callersMethodis_empty
(&self)
src/types/sensitive.rs:77
↓ 227 callersMethodget
Get a reference to the active overlay.
src/tui/screens/main/overlay/mod.rs:143
↓ 158 callersFunctionsnapshot_locale
Convenience: acquire locale guard pinned to English with UTC timezone.
tests/snapshot_tests/support/locale.rs:56
↓ 151 callersMethodtransition
(&mut self, trigger: SyncTrigger)
src/sync/state_machine.rs:97
↓ 129 callersMethodsend
(&self, command: Command)
tests/integration/change_master_password_test.rs:59
↓ 122 callersMethodupdate
(&mut self, msg: Message, ctx: &mut ScreenContext)
src/tui/state/main_state/state.rs:814
↓ 120 callersMethodvault_mut
Get a mutable reference to the vault (read-write operations). Returns an error if the vault runtime is not `Open`.
src/executor/mod.rs:313
↓ 116 callersMethodexecute
Execute a single command. Performs pre-check validation, dispatches to the appropriate handler, runs post-hook logging, and sends the result back to
src/executor/execute.rs:13
↓ 110 callersMethodupdate
(&mut self, msg: Message, ctx: &mut ScreenContext)
src/tui/screens/unlock.rs:73
↓ 88 callersFunctionsetup_service
Helper: create an in-memory VaultService with schema initialized.
src/services/vault/record/tests.rs:21
↓ 85 callersMethodexpose
(&self)
src/types/sensitive.rs:11
↓ 80 callersMethodget
Look up an immutable reference to the parser for `source`.
src/services/import_export/parser.rs:177
↓ 77 callersFunctionunlock_service
Helper: unlock the VaultService with a fresh mnemonic.
src/services/vault/record/tests.rs:27
↓ 70 callersMethodget_stored_record
Retrieve the stored (encrypted) record by ID. Returns `VaultError::RecordNotFound` if no record with the given UUID exists.
src/services/vault/record/crud.rs:178
↓ 63 callersMethodclear
(&mut self)
src/tui/state/animation.rs:75
↓ 60 callersMethodas_bytes
Exposes the underlying 32-byte key.
src/crypto/keystore.rs:76
↓ 57 callersMethodcreate_record
Create a new vault record with encryption, tags, and audit logging. Returns the UUID of the newly created record.
src/services/vault/record/crud.rs:122
↓ 55 callersFunctioninit_db_in_memory
()
src/db/schema.rs:90
↓ 54 callersMethodpush_char
(&mut self, c: char)
src/types/sensitive.rs:60
↓ 51 callersFunctiondummy_ctx
()
src/tui/screens/onboarding/tests.rs:1536
↓ 49 callersFunctioninsert_record
Insert a new record with all fields using a parameterized query. Wrapped in a transaction so that record + tags are atomic — a partial failure rolls
src/db/queries/record.rs:133
↓ 48 callersMethodregenerate
Regenerate password based on current config.
src/tui/state/generator_state.rs:158
↓ 48 callersMethodsend_system_command
Sends an internal/system command, logging a warning on failure. Use this for non-user-initiated commands (auto-load on mount, background refresh, etc
src/tui/traits/screen.rs:28
↓ 48 callersMethodvault
Get a reference to the vault (read-only operations). Returns an error if the vault runtime is not `Open`.
src/executor/mod.rs:306
↓ 45 callersMethodhandle_key_event
Handle a key event for the main screen.
src/tui/screens/main/mod.rs:187
↓ 45 callersFunctionmake_screen
()
src/tui/screens/create_record_test.rs:13
↓ 45 callersFunctionrender_snapshot
Render into a TestBackend and return the buffer as a string snapshot. Uses the default `en` locale under a `LocaleGuard` so the render is isolated fr
src/tui/screens/main/list/tests.rs:156
↓ 44 callersMethodbackend
(&self)
src/services/clipboard.rs:397
↓ 43 callersMethodbuild
Build the [`CommandExecutor`]. # Errors Returns an error if required fields are missing: - `vault` - `config` - `result_tx` - `shutdown_token` All
src/executor/builder.rs:220
↓ 42 callersFunctioncreate_login_record
Helper: create a Login record and return its UUID.
src/executor/health_test.rs:94
↓ 42 callersFunctionmake_key
(code: KeyCode)
src/tui/screens/main/mod.rs:995
↓ 42 callersMethodview
Render the full main screen layout. # Arguments `frame` - The ratatui frame to render into. `area` - The total area available for the main screen. `s
src/tui/screens/main/mod.rs:65
↓ 41 callersMethodconfig
(mut self, config: AppConfig)
src/executor/builder.rs:139
↓ 41 callersFunctionrender_field
( chunks: &[Rect], fi: &mut u16, frame: &mut Frame, label: &str, value: &str, sensitiv
src/tui/screens/config_screen/config/sync.rs:443
↓ 40 callersFunctionlist_audit_entries
List audit entries ordered by `occurred_at` descending, with pagination.
src/db/queries/audit.rs:34
↓ 39 callersMethodto_error_context
(&self)
src/errors/mapping/data.rs:36
↓ 38 callersFunctionsetup_db
Create an in-memory database with schema initialized.
src/db/queries/tests.rs:13
↓ 38 callersMethodsoft_delete_record
Soft-delete a record by ID. Sets `deleted = 1` and `deleted_at = now` so the record disappears from normal listing but can be restored later. Writes
src/services/vault/record/crud.rs:452
↓ 37 callersMethodcompute_checksum
Computes SHA-256 hash of the Base64-decoded encrypted_data. Returns hex string of the hash.
src/cloud/record.rs:269
↓ 36 callersMethodexecute
(&self, context: &mut PipelineContext)
src/sync/pipeline.rs:209
↓ 35 callersFunctioncreate_login
Helper: create a Login record and return its ID.
src/services/vault/trash.rs:331
↓ 35 callersFunctioncreate_machine
()
src/sync/state_machine.rs:193
↓ 35 callersMethodmake_ctx
(&'a self, tx: &'a mpsc::Sender<Command>)
src/tui/screens/create_record_test.rs:28
↓ 34 callersFunctionevaluate_strength
(password: &str)
src/crypto/strength.rs:41
↓ 34 callersMethodupdate_record
Update an existing vault record with optimistic locking. # Errors - `VaultError::NotUnlocked` if the vault is locked. - `VaultError::RecordNotFound`
src/services/vault/record/crud.rs:324
↓ 33 callersMethodupload_metadata
Uploads metadata with atomic write (temp + rename).
src/cloud/storage.rs:36
↓ 32 callersMethodupsert_record
(&mut self, record_id: String, info: RecordVersionInfo)
src/cloud/metadata.rs:148
↓ 31 callersFunctionmake_record
Helper to build a TuiRecord with minimal fields for testing.
src/tui/screens/main/list/tests.rs:21
↓ 30 callersFunctionhandle_message
Dispatch a single Message. Returns Exit if the app should shut down.
src/app/update.rs:441
↓ 30 callersFunctionmake_executor_no_records
Helper: create an executor with an unlocked vault (no records).
src/executor/health_test.rs:70
↓ 30 callersFunctionsec
Helper: create a SecureStr from a string literal for test use.
src/crypto/keystore.rs:481
↓ 30 callersMethodto_error_code
(&self)
src/errors/mapping/data.rs:7
↓ 30 callersMethodupload_record
Uploads a record with atomic write (temp + rename).
src/cloud/storage.rs:155
↓ 29 callersFunctioncreate_named_record
Helper: create a Login record with a specific name and return its ID.
src/services/vault/record/tests.rs:1393
↓ 29 callersFunctioncreate_test_login_record
Helper: create a Login record and return its ID.
src/services/vault/record/tests.rs:616
↓ 29 callersMethodfocus_field
Set field focus directly, clearing footer and inline-button focus.
src/tui/state/form_state.rs:640
↓ 29 callersFunctionsetup_service
Helper: create an in-memory VaultService with schema initialized.
src/services/vault/tag/tests.rs:12
↓ 29 callersMethodtitle
(&self)
src/tui/components/empty_state.rs:79
↓ 28 callersMethodenter_visual
Enter visual (multi-select) mode. Starts with an empty selection set.
src/tui/state/list_state/state.rs:261
↓ 28 callersMethodis_visual
Whether the list is currently in visual (multi-select) mode.
src/tui/state/list_state/state.rs:312
↓ 28 callersFunctionkey_event
(code: crossterm::event::KeyCode)
src/tui/state/main_state/tests.rs:854
↓ 28 callersFunctionmake_record
Helper to build a TuiRecord with minimal fields for testing.
src/tui/state/list_state/tests.rs:18
↓ 28 callersMethodrebuild
Rebuild the sidebar item list from categories, tags, and utility entries.
src/tui/state/main_state/state.rs:142
↓ 27 callersMethodcancel_token
Get a reference to the operation cancellation token.
src/executor/mod.rs:320
↓ 27 callersMethodclear
Clear terminal title (for exit/lock).
src/tui/state/main_state/state.rs:583
↓ 27 callersMethodget_mut
Get a mutable reference to the active overlay.
src/tui/screens/main/overlay/mod.rs:148
↓ 27 callersMethodlock
(&mut self)
src/services/vault/mod.rs:241
↓ 27 callersFunctionmake_key
(code: KeyCode)
src/tui/state/main_state/tests.rs:1820
↓ 27 callersMethodnext
(self)
src/tui/state/config_state/state.rs:53
↓ 26 callersMethodcreate_record
( &mut self, params: crate::types::record::CreateRecordParams, )
src/executor/mod.rs:563
↓ 26 callersMethodhandle_key
Handle a key event. Returns recovery words when Enter is pressed and all editable words are filled.
src/tui/screens/recovery_key.rs:159
↓ 26 callersFunctionkey
(code: KeyCode)
tests/integration/audit_sync_test.rs:97
↓ 26 callersFunctionmake_ctx
()
src/tui/state/main_state/tests.rs:845
↓ 26 callersMethodset_local_records
Sets the local records for conflict detection.
src/sync/pipeline.rs:149
↓ 25 callersFunctioncreate_test_checkpoint
()
src/sync/pipeline_test.rs:23
↓ 25 callersFunctionfresh_db
()
src/db/queries_test.rs:13
↓ 25 callersFunctionunlock_service
Helper: unlock the VaultService with a fresh mnemonic.
src/services/vault/tag/tests.rs:18
↓ 24 callersFunctioncreate_test_storage
()
src/sync/pipeline_test.rs:13
↓ 24 callersMethodenqueue
(&mut self, msg: StatusMessage)
src/tui/state/notification.rs:110
↓ 24 callersFunctionmake_record
(id: Uuid, name: &str, subtitle: &str)
tests/snapshot_tests/screens/list_test.rs:25
↓ 24 callersFunctionmake_test_record
Build a test `StoredRecord` with sensible defaults.
src/db/queries/tests.rs:18
↓ 24 callersMethodparse
( &self, _path: &Path, _password: Option<&SecureStr>, _csv_map
src/services/import_export/parser.rs:275
↓ 24 callersMethodpop_char
(&mut self)
src/types/sensitive.rs:64
↓ 24 callersFunctionsample_login_payload
Helper: create a Login-type EncryptedPayload for testing.
src/services/vault/record/tests.rs:35
↓ 23 callersFunctionrender_setting_row
( frame: &mut Frame, area: Rect, icon: &str, label: &str, control: &str, focused: bool
src/tui/screens/config_screen/config/render.rs:462
↓ 23 callersMethodupdate
(&mut self, msg: Message, ctx: &mut ScreenContext)
src/tui/screens/edit_record.rs:996
↓ 22 callersMethodcopy
Copy text to clipboard and start auto-clear timer. Returns `clear_timeout` for UI countdown display.
src/services/clipboard.rs:273
↓ 22 callersMethodfield_name
Builder method: sets the field name.
src/errors/context.rs:65
↓ 22 callersMethodhandle_recovery_display_key
( &mut self, key: KeyEvent, ctx: &mut ScreenContext, )
src/tui/screens/onboarding/handlers.rs:225
↓ 22 callersMethodhandle_recovery_verify_key
(&mut self, key: KeyEvent)
src/tui/screens/onboarding/handlers.rs:304
↓ 22 callersFunctioninsert_audit_entry
Insert an audit log entry with the current timestamp.
src/db/queries/audit.rs:11
↓ 22 callersFunctioninsert_health_state
Helper: insert a health state via the VaultService wrapper.
src/executor/health_test.rs:115
↓ 22 callersMethodlist_records
Lists all record IDs in the records directory.
src/cloud/storage.rs:216
↓ 22 callersFunctionredacted
(len: usize)
src/config/sync.rs:48
↓ 22 callersFunctionsetup_unlocked_vault
Helper: create an in-memory VaultService with schema initialized and unlocked.
src/services/vault/trash.rs:320
↓ 22 callersMethodunlock_with_mnemonic
(&mut self, mnemonic: &Passkey)
src/crypto/crypto_manager.rs:28
↓ 22 callersMethodupdate
(&mut self, msg: Message, ctx: &mut ScreenContext)
src/tui/screens/set_password.rs:147
next →1–100 of 5,714, ranked by callers