Skip to main content

Module db

Module db 

Source

Re-exports§

pub use lifecycle::connection_snapshot;
pub use lifecycle::SqliteConnectionSnapshot;
pub use lifecycle::SqliteStore;
pub use lifecycle::SqliteStoreCount;
pub use lifecycle::TrackedConnection;

Modules§

backups
bash_tasks
bash_watches
compression_events
github_read_cache
Durable cache rows for rendered GitHub issues and pull requests.
lifecycle
Process-wide accounting for SQLite connections opened by AFT-owned seams.
removal
Durable state summarized when a user is considering removing AFT.
standing_roots
Machine-scoped durable resolution and strict-verification state for standing roots.
state

Enums§

OpenError

Constants§

CURRENT_SCHEMA_VERSION

Functions§

apply_pragmas
Apply the per-connection PRAGMAs required for every AFT SQLite connection.
open
Open or create the AFT SQLite database at the given path.
open_readonly
Open an existing AFT database without creating, migrating, or mutating it.
run_migrations
Run forward-only migrations up to CURRENT_SCHEMA_VERSION.