Skip to main content

Module mount_db

Module mount_db 

Source
Expand description

Mount SQLite persistence (RFC-025).

The mounts table lives in the same memory.db as memories and the legacy projects table. Coexists with RFC-011’s projects table during the migration window.

Constants§

MOUNT_SCHEMA
Schema DDL for the mounts table.

Functions§

add_dismissed_root
RFC-025 Phase 5: record a dismissed root path (tombstone).
delete_mount
Delete a Mount by ID.
ensure_mount_schema
Ensure the mounts table exists.
list_dismissed_roots
RFC-025 Phase 5: load all dismissed root paths (tombstones).
list_mounts
List all Mounts, ordered by name.
save_mount
Save (upsert) a Mount.