Skip to main content

Module system_db

Module system_db 

Source

Structs§

DocumentRecord
A record from the documents table
SystemDb
The system database that manages document index, schema state, and view cache. Uses a Mutex around the connection so Store can be Send + Sync.

Constants§

BUSY_TIMEOUT_MS
How long a connection retries a lock held by another connection before giving up with SQLITE_BUSY.

Functions§

compute_directory_hash
Compute a directory hash from a list of (path, mtime) pairs. Used for change detection during boot.