Skip to main content

Module reader

Module reader 

Source
Expand description

Read-only SQLite access to Cursor’s global state.vscdb.

Cursor uses SQLite WAL mode and writes continuously from the foreground process. We open with SQLITE_OPEN_READ_ONLY (URI form ?mode=ro) so we never interfere with a live Cursor process; WAL readers still observe a consistent snapshot as of transaction start.

Structs§

DbReader
Thin wrapper around a rusqlite connection opened read-only against Cursor’s state.vscdb.

Constants§

BUBBLE_PREFIX
Prefix for the per-bubble row.
COMPOSER_DATA_PREFIX
Prefix for the per-composer metadata row.
CONTENT_PREFIX
Prefix for content-addressed file blobs.
HEADERS_KEY
Cross-workspace composer index key (in ItemTable).