Expand description
Contains internal helper functions for the ApplicationState module.
§Internal (ApplicationState)
Contains internal helper functions for the ApplicationState module,
handling tasks like file I/O, path resolution, and serialization that are
not part of the public API of the state itself.
Modules§
- URLSerialization
Helper - A helper module for serializing and deserializing
url::Urlwithserde. This is used in DTOs where aUrlfield needs to be serialized to a string.
Functions§
- Analyze
Text Lines AndEOL - Analyzes text content to determine its line endings and splits it into a vector of lines.
- Load
Initial Memento From Disk - Synchronously loads Memento storage data from a JSON file.
Used during the initial
default()setup ofApplicationState. - Resolve
Memento Storage File Path - Resolves the absolute path for a Memento storage file based on scope.
- Scan
AndPopulate Extensions - Scans all registered extension paths for valid extensions and populates the state.