Module Internal

Module Internal 

Source
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§

URLSerializationHelper
A helper module for serializing and deserializing url::Url with serde. This is used in DTOs where a Url field needs to be serialized to a string.

Functions§

AnalyzeTextLinesAndEOL
Analyzes text content to determine its line endings and splits it into a vector of lines.
LoadInitialMementoFromDisk
Synchronously loads Memento storage data from a JSON file. Used during the initial default() setup of ApplicationState.
ResolveMementoStorageFilePath
Resolves the absolute path for a Memento storage file based on scope.
ScanAndPopulateExtensions
Scans all registered extension paths for valid extensions and populates the state.