Documentation
¶
Overview ¶
Package codenav holds shared helpers for the code-navigation feature, whose engine lives in the store, query, graph, and index subpackages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDBPath ¶
func DefaultDBPath() string
DefaultDBPath returns the path to the code-navigation index database under ~/.human/, creating the directory if needed and falling back to ./.human/ when the home directory is unknown. Mirrors the convention used by internal/index and internal/stats.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package graph answers reachability questions over the CALLS edge table using depth-capped, cycle-guarded recursive CTEs.
|
Package graph answers reachability questions over the CALLS edge table using depth-capped, cycle-guarded recursive CTEs. |
|
Package index defines the indexing contract and the data types that flow from a language backend into the store.
|
Package index defines the indexing contract and the data types that flow from a language backend into the store. |
|
Package query is the single source of truth for codenav's read operations: search, definition, references, callers, callees and call-path.
|
Package query is the single source of truth for codenav's read operations: search, definition, references, callers, callees and call-path. |
|
Package store owns the SQLite database: connection, schema migration, project lifecycle, and a Writer that persists what indexers extract.
|
Package store owns the SQLite database: connection, schema migration, project lifecycle, and a Writer that persists what indexers extract. |
Click to show internal directories.
Click to hide internal directories.