pub fn LoadInitialMementoFromDisk(
StorageFilePath: &Path,
) -> HashMap<String, Value>Expand description
Synchronously loads Memento storage data from a JSON file.
Used during the initial default() setup of ApplicationState.
§Arguments
StorageFilePath- Path to the memento storage file
§Returns
HashMap containing the memento data, or empty HashMap on error
§Behavior
- Returns empty HashMap if file doesn’t exist
- Creates backup and returns empty on parse error
- Creates directory on read error
§Errors
Errors are logged but not propagated; default values are returned.