MCPcopy Create free account

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

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

↓ 8 callersFunctionmap_parsed_item
Convert a [`ParsedItem`] into a [`MappedRecord`] using the default mapping for the given [`ImportSource`]. This is the main entry point that ties tog
src/services/import_export/mapping.rs:576
↓ 8 callersFunctionmeasure
(f: impl FnOnce() -> T)
examples/sqlcipher_bench.rs:108
↓ 8 callersMethodname
(&self)
src/types/record.rs:103
↓ 8 callersFunctiononboarding_app
()
src/app/update.rs:1007
↓ 8 callersFunctionopen_overlay
(state: &mut MainScreenState, overlay: Overlay)
tests/snapshot_tests/screens/main_composition_test.rs:135
↓ 8 callersFunctionpersist_health_report
Project `HealthReport` to per-record states and persist to the database. Reads existing health states, computes new states via projection, performs a
src/executor/health.rs:147
↓ 8 callersMethodrecord_push_done
Records that a record has been successfully pushed to cloud.
src/sync/checkpoint.rs:79
↓ 8 callersFunctionrecovery_words
()
src/tui/screens/set_password.rs:733
↓ 8 callersFunctionrender_generator_panel
Render the generator panel content (used by both standalone and embedded). Returns a vector of Lines to be composed into a Paragraph.
src/tui/components/generator_panel.rs:24
↓ 8 callersFunctionrender_label_value
( chunks: &[Rect], fi: &mut u16, frame: &mut Frame, label: &str, value: &str, label_co
src/tui/screens/config_screen/config/sync.rs:478
↓ 8 callersFunctionrender_length_slider
Render a length slider row. Label | \[ value \] | \[-\] bar \[+\]
src/tui/components/length_slider.rs:14
↓ 8 callersFunctionrender_sidebar_buffer
( state: &SidebarState, width: u16, height: u16, )
src/tui/screens/main/sidebar.rs:767
↓ 8 callersFunctionroute_on_mount_from_state
Call `on_mount()` on the current screen after navigation.
src/app/update.rs:796
↓ 8 callersFunctionsample_record
Build a minimal `StoredRecord` with sensible defaults for testing.
src/db/queries_test.rs:18
↓ 8 callersFunctionsensitive
(s: &str)
src/tui/screens/change_master_password.rs:589
↓ 8 callersFunctionset_textarea_text
Load text into a `TextArea`, replacing existing content.
src/tui/components/textarea.rs:140
↓ 8 callersFunctionsetup_vault
()
tests/integration/smoke_test.rs:31
↓ 8 callersMethodto_db_str
(self)
src/types/audit.rs:29
↓ 8 callersMethodto_stored_record
(self, tags: Vec<String>)
src/db/models.rs:75
↓ 8 callersMethodto_words_for_test
(&self)
src/crypto/bip39.rs:103
↓ 8 callersFunctionunlocked_crypto_manager
Helper: create an unlocked CryptoManager from a fresh mnemonic.
tests/integration/vault_db_crypto_test.rs:11
↓ 8 callersMethodupdate_size
Check if terminal meets minimum size requirement (80x24).
src/tui/state/mod.rs:136
↓ 8 callersMethodvalidate_config
(&self, _config: &ProviderConfig)
src/cloud/provider_test.rs:377
↓ 7 callersFunctionapply_field_mapping
Map source fields through a [`FormatMapping`], producing a `HashMap<TargetField, String>`. For each [`FieldMapping`] in the format mapping: 1. Look u
src/services/import_export/mapping.rs:549
↓ 7 callersMethodattempt_count
Builder method: sets the attempt count.
src/errors/context.rs:95
↓ 7 callersMethodbatch_hard_delete
Batch hard-delete multiple soft-deleted records (permanently). Pre-filters to only soft-deleted records. Captures names before deletion so audit entr
src/services/vault/trash.rs:258
↓ 7 callersMethodbuild_cloud_record_for_sync
Build a sync upload record with private metadata encrypted for cloud.
src/services/vault/record/crud.rs:26
↓ 7 callersFunctionbuild_dialog_parts
Build (title, body_lines, confirm_label) for a variant.
src/tui/screens/main/overlay/confirm.rs:144
↓ 7 callersFunctioncleanup_failed_new_vault_initialization
( vault_dir: &std::path::Path, key_existed_before: bool, vault_db_existed_before: bool, wal_ex
src/executor/vault.rs:30
↓ 7 callersFunctioncreate_login_with_password
Helper: create a Login record with a specific password and return its ID.
src/services/vault/history.rs:189
↓ 7 callersFunctioncreate_test_cloud_record
(id: &str, version: u64)
tests/sync_pipeline_test.rs:27
↓ 7 callersFunctiondefault_sort
Default sort: by updated_at descending.
tests/integration/vault_service_test.rs:77
↓ 7 callersMethodempty_trash
Permanently delete all soft-deleted records and write a `TrashEmpty` audit entry. Returns the count of permanently deleted records. Returns `VaultEr
src/services/vault/trash.rs:78
↓ 7 callersFunctionencrypt_payload
( crypto: &CryptoManager, payload: &EncryptedPayload, aad: &[u8], )
src/crypto/payload.rs:137
↓ 7 callersFunctionentry_to_parsed_item
Convert a KeePass `Entry` into a `ParsedItem`. Standard fields (Title, UserName, Password, URL, Notes) are extracted directly. Any remaining string f
src/services/import_export/parsers/keepass.rs:146
↓ 7 callersMethodexpose_mut
Exposes the underlying bytes as a mutable slice.
src/security/memory.rs:227
↓ 7 callersMethodfile_path
Builder method: sets the file path.
src/errors/context.rs:77
↓ 7 callersMethodget_record_health_state
Get the health state for a single record. Returns `None` when no health state row exists for the given record.
src/services/vault/health_state.rs:16
↓ 7 callersFunctionget_record_tags
Public wrapper: get tag names for a record.
src/db/queries/tag.rs:87
↓ 7 callersFunctionget_record_tags_inner
Get tag names for a record via JOIN on `record_tags` + `tags`.
src/db/queries/record.rs:19
↓ 7 callersFunctionhandle_key
Handle a key press in the error dialog, returning the action to take.
src/tui/screens/main/overlay/error_dialog.rs:81
↓ 7 callersFunctionhandle_resume_rotation
(executor: &mut CommandExecutor)
src/executor/rotation.rs:256
↓ 7 callersFunctioninit
Initialize i18n based on configured language preference. - "auto" → detect system locale, fallback to "en" - "en" or "zh-CN" → use directly
src/tui/i18n/mod.rs:57
↓ 7 callersFunctioninsert_tag
Insert a new tag and return it with the auto-generated ID.
src/db/queries/tag.rs:10
↓ 7 callersMethodload_from_config
Populate state from an [`AppConfig`].
src/tui/state/config_state/state.rs:573
↓ 7 callersFunctionmake_security_config
(enabled: bool, frequency: HealthCheckFrequency)
src/services/health.rs:346
↓ 7 callersFunctionmake_unlocked_executor
Create a basic unlocked executor with no records.
src/executor/vault_test.rs:17
↓ 7 callersMethodmove_up
Move selection up to previous selectable item.
src/tui/state/main_state/state.rs:346
↓ 7 callersFunctionopen_encrypted_connection
( db_path: &Path, key: &DbPageKey, )
src/db/sqlcipher.rs:29
↓ 7 callersMethodparse
( &self, path: &Path, password: Option<&SecureStr>, _csv_mapping: Option<&crat
src/services/import_export/parsers/okb.rs:78
↓ 7 callersFunctionparse_kdbx
(name: &str)
src/services/import_export/parsers/keepass_test.rs:338
↓ 7 callersFunctionpartition_entries_for_hibp
Partition entries into those that can skip HIBP and those that need it. Returns `(skipped_ids, entries_to_check)`. - `skipped_ids`: record IDs where
src/executor/health.rs:47
↓ 7 callersFunctionproject_health_report_to_states
Pure function to project a `HealthReport` into per-record `RecordHealthState`s. For each active record, determines its health attributes from the rep
src/executor/health.rs:89
↓ 7 callersFunctionrender_password_input_with_buttons
( label: &str, value: &str, focused: bool, _has_error: bool, visible: bool, buttons: &
src/tui/components/text_input.rs:219
↓ 7 callersFunctionrender_screen
(screen: &PasswordGeneratorScreen, width: u16, height: u16)
tests/snapshot_tests/screens/password_generator_test.rs:20
↓ 7 callersFunctionrender_screen
(screen: &AuditLogScreen, width: u16, height: u16)
tests/snapshot_tests/screens/audit_log_test.rs:33
↓ 7 callersFunctionrender_screen
(screen: &UnlockScreen, width: u16, height: u16)
tests/snapshot_tests/screens/unlock_test.rs:20
↓ 7 callersFunctionrender_text_input
Render a labeled text input field.
src/tui/components/text_input.rs:149
↓ 7 callersMethodresolve_all_batch
Resolves multiple conflicts using the same strategy. Batch resolution iterates over items, applies the same strategy to each, and collects results. I
src/sync/conflict.rs:208
↓ 7 callersFunctionroute_on_unmount_from_state
Call `on_unmount()` on the current screen before navigation.
src/app/update.rs:882
↓ 7 callersFunctionrow_with_any_text
(buffer: &ratatui::buffer::Buffer, values: &[&str])
src/tui/screens/main/sidebar.rs:792
↓ 7 callersMethodrun_full_check
( &self, records: &[StoredRecord], decryptor: &dyn PasswordDecryptor, )
src/services/health.rs:223
↓ 7 callersFunctionschedule_health_resync_for_records
For records with changed health attributes, mark them as pending sync. Health-only changes set `sync_state = Pending` so the sync pipeline propagates
src/executor/health.rs:199
↓ 7 callersFunctionschedule_health_scan
Schedule a full health scan by sending `RunHealthCheck` through the internal command channel. Failures are logged but do not block the caller — the he
src/executor/record.rs:36
↓ 7 callersMethodselect_all
In visual mode, select all records.
src/tui/state/list_state/state.rs:293
↓ 7 callersFunctionsensitive
(s: &str)
src/tui/screens/set_password.rs:725
↓ 7 callersFunctionsensitive
(s: &str)
tests/snapshot_tests/screens/password_generator_test.rs:12
↓ 7 callersFunctionsensitive
(s: &str)
tests/snapshot_tests/screens/change_master_password_test.rs:14
↓ 7 callersFunctionsource_needs_password
(source: ImportSource)
src/tui/screens/import_export/types.rs:133
↓ 7 callersMethodstore_conflict
Stores a conflict by creating a ConflictPayload and serializing it. This creates a ConflictPayload from the cloud record and checksum, validates it,
src/sync/conflict.rs:132
↓ 7 callersFunctionsync_indicator_text
Return the sync indicator display string.
src/tui/screens/main/status_bar.rs:293
↓ 7 callersFunctiontest_key
()
tests/integration/sqlcipher_poc_test.rs:12
↓ 7 callersFunctiontest_state
Helper: create a default state for testing.
src/tui/screens/main/overlay/batch_tag.rs:457
↓ 7 callersMethodto_recovery_words
( &self, )
src/crypto/bip39.rs:85
↓ 7 callersMethodto_secret_key
(&self)
src/crypto/bip39.rs:128
↓ 7 callersMethodtoggle_char_type
Toggle a character type (only for Random style).
src/tui/state/generator_state.rs:259
↓ 7 callersFunctiontrash_warning_tier
Determine the warning tier based on remaining days.
src/tui/state/list_state/state.rs:477
↓ 7 callersMethodtry_wait
(&mut self)
tests/instance_lock_test.rs:35
↓ 7 callersFunctionupdate_record
Update a record with optimistic locking. Returns `Ok(true)` if the update succeeded (version matched), or `Ok(false)` if no rows were affected (versi
src/db/queries/record.rs:442
↓ 7 callersFunctionuuid
()
src/executor/import_export.rs:819
↓ 7 callersMethodwait_for_event
Internal helper: waits for an event matching the predicate. Drains non-matching events (like `StateChanged`) and returns when either a matching event
src/services/sync.rs:597
↓ 6 callersFunctionapply_key
(conn: &Connection, key: &DbPageKey)
src/db/sqlcipher.rs:21
↓ 6 callersFunctionassert_no_health_state
Helper: assert that no health state row exists for the given record.
src/services/vault/record/tests.rs:2475
↓ 6 callersFunctionassert_service_error
(_: &E)
src/errors/mapping/health.rs:113
↓ 6 callersFunctionassert_service_error
(_: &E)
src/errors/mapping/clipboard.rs:125
↓ 6 callersFunctionbase64_decode
(s: &str)
src/crypto/keystore.rs:468
↓ 6 callersMethodbatch_add_tag
Add a tag to multiple records in a single transaction. Creates the tag if it does not already exist. For each record, the tag is attached with `INSER
src/services/vault/tag/state.rs:137
↓ 6 callersMethodbatch_soft_delete
Soft-delete multiple records in batch, writing a `RecordDelete` audit entry for each. Returns the number of records that were soft-deleted. Returns
src/services/vault/trash.rs:140
↓ 6 callersFunctioncell_content
(kind: &ValidationKind, unicode: bool)
src/tui/components/inline_validation.rs:66
↓ 6 callersFunctionchar_key
(c: char)
src/tui/screens/database_recovery.rs:1252
↓ 6 callersMethodcheck_connectivity
Checks connectivity by attempting to list records.
src/cloud/storage.rs:329
↓ 6 callersMethodclear
Force clear clipboard regardless of content.
src/services/clipboard.rs:305
↓ 6 callersFunctioncompute_checksum
(encrypted_data_base64: &str)
src/cloud/validation.rs:9
↓ 6 callersFunctioncontains_rect
(rect: Rect, column: u16, row: u16)
src/tui/state/main_state/state.rs:2094
↓ 6 callersFunctioncreate_record
Helper: create a record and return its ID.
tests/integration/health_test.rs:166
↓ 6 callersMethodcurrent_filter
Return the [`RecordFilter`] corresponding to the currently selected item.
src/tui/state/main_state/state.rs:315
↓ 6 callersMethodcycle_sort_field
Cycle through sort fields: CreatedAt -> UpdatedAt -> Name -> UsageFrequency -> CreatedAt
src/tui/state/list_state/state.rs:193
↓ 6 callersFunctiondatetime_to_timestamp
Convert a `DateTime<Utc>` to a Unix timestamp (seconds).
src/db/models.rs:25
↓ 6 callersFunctiondecrypt_subtitle
( crypto: &CryptoManager, ciphertext: &[u8], nonce: &[u8; 24], aad: &[u8], credential_type
src/crypto/payload.rs:178
↓ 6 callersFunctiondelete_record_health_states
Delete health states for multiple records. Returns the number of deleted rows. An empty `record_ids` slice is a no-op that returns `0`.
src/db/queries/health_state.rs:146
← previousnext →401–500 of 5,714, ranked by callers