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).