Expand description
Resolves where application files live on each platform.
use kasl::libs::data_storage::DataStorage;
let storage = DataStorage::new();
let db_path = storage.get_path("kasl.db")?;
let config_path = storage.get_path("config.json")?;Structs§
- Data
Storage - The application data directory, resolved once at construction.