Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenKeyring/oak-keyring
/ init_db
Function
init_db
src/db/schema.rs:54–88 ·
view source on GitHub ↗
(path: &Path)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
13
new
Method · 0.85
begin_file_backed_vault_db
Method · 0.85
setup_fresh_db
Function · 0.85
init_db_creates_working_database_on_fresh_directory
Function · 0.85
init_db_on_existing_current_version_is_no_op
Function · 0.85
init_db_creates_fresh_db_from_empty_file
Function · 0.85
init_db_rejects_existing_corrupt_database
Function · 0.85
init_db_rejects_current_schema_database_with_foreign_key_violation
Function · 0.85
init_db_rejects_newer_schema_version
Function · 0.85
checkpoint_wal_succeeds_for_file_backed_database
Function · 0.85
build_executor_with_sync
Function · 0.85
open_connection
Function · 0.85
Calls
6
apply_pragmas
Function · 0.85
run_quick_check
Function · 0.85
read_current_version
Function · 0.85
run_with_backup
Function · 0.85
run_migrations
Function · 0.85
run_foreign_key_check
Function · 0.85
Tested by
9
setup_fresh_db
Function · 0.68
init_db_creates_working_database_on_fresh_directory
Function · 0.68
init_db_on_existing_current_version_is_no_op
Function · 0.68
init_db_creates_fresh_db_from_empty_file
Function · 0.68
init_db_rejects_existing_corrupt_database
Function · 0.68
init_db_rejects_current_schema_database_with_foreign_key_violation
Function · 0.68
init_db_rejects_newer_schema_version
Function · 0.68
checkpoint_wal_succeeds_for_file_backed_database
Function · 0.68
build_executor_with_sync
Function · 0.68