Package-level declarations
Types
Manages per-device Room database instances for node data, with LRU eviction.
Provides multiplatform access to the current MeshtasticDatabase and a safe transactional helper. Platform implementations manage the concrete lifecycle (Room on Android, etc.).
Functions
Creates an Android DataStore for database preferences.
Creates a platform-specific DataStore for database-related preferences.
Creates a JVM DataStore for database preferences in the data directory.
Deletes the Android database using the platform-specific deleteDatabase helper.
Deletes the database with the given dbName and its associated files (e.g., -wal, -shm).
Deletes the database and its Room-associated files on JVM.
Resolves the desktop data directory for persistent storage (DataStore files, Room database). Defaults to ~/.meshtastic/. Override via MESHTASTIC_DATA_DIR environment variable.
Returns a RoomDatabase.Builder configured for Android with the given dbName.
Returns a RoomDatabase.Builder configured for the current platform with the given dbName.
Returns a RoomDatabase.Builder configured for JVM/Desktop with the given dbName.
Returns the Android directory where database files are stored.
Returns the platform-specific directory where database files are stored.
Returns the JVM/Desktop directory where database files are stored.
Returns the system FileSystem for Android.
Returns the FileSystem to use for database file operations.
Returns the system FileSystem for JVM.
Returns a RoomDatabase.Builder configured for an in-memory Android database.
Returns a RoomDatabase.Builder configured for an in-memory database on the current platform.
Returns a RoomDatabase.Builder configured for an in-memory JVM database.