Skip to main content

Module db

Module db 

Source

Structs§

GraphFileFacts

Functions§

bootstrap_path
connect_readonly
Open a connection for command paths that only read from the hub.
connect_readwrite
Open a connection for command paths that may write to the hub.
file_vectors_synced
Return the vector sync state for an indexed file.
gobby_home
Return Gobby home, respecting GOBBY_HOME when the daemon was configured with it.
indexed_file_exists
indexed_project_exists
list_indexed_file_paths
mark_graph_sync_attempted
mark_graph_synced
mark_project_vectors_synced
mark_vectors_synced
read_config_value
read_graph_file_facts
read_local_import_calls
Read the pending local_import calls written for file_paths during the current index run. Each returned CallRelation carries its candidate target files in callee_external_module (see CallRelation::with_local_import_target).
read_project_local_import_calls
reset_graph_sync_for_project
reset_vectors_sync_for_project
resolve_database_url
Resolve the PostgreSQL hub DSN from explicit overrides or Gobby bootstrap config.
resolve_default_import_symbol_id
resolve_local_callee_symbol_id
Resolve a cross-file local-import call target to its canonical code_symbols id by (candidate files, original name). Returns the real indexed id (no UUID recompute, so a phantom edge is structurally impossible), or None when nothing matches or the match is ambiguous.
symbol_select_columns