pub fn ResolveMementoStorageFilePath(
ApplicationDataDirectory: &Path,
IsGlobalScope: bool,
WorkspaceIdentifier: &str,
) -> PathBufExpand description
Resolves the absolute path for a Memento storage file based on scope.
§Arguments
ApplicationDataDirectory- Base application data directoryIsGlobalScope- True for global storage, false for workspace storageWorkspaceIdentifier- Workspace identifier (ignored for global scope)
§Returns
PathBuf pointing to the memento storage file
§Behavior
- Global scope:
{AppData}/User/globalStorage.json - Workspace scope:
{AppData}/User/workspaceStorage/{sanitized-id}/storage.json - Sanitizes workspace identifier (alphanumeric, hyphens, underscores only)