Table of Contents

Class SessionIntegrity

Namespace
JD.AI.Core.Sessions
Assembly
JD.AI.Core.dll

Cross-checks SQLite store ↔ JSON exports and repairs inconsistencies.

public static class SessionIntegrity
Inheritance
SessionIntegrity
Inherited Members

Methods

CheckAsync(SessionStore, string?, bool)

Check all sessions in the store against their JSON exports. Optionally repairs by re-exporting from SQLite or re-importing from JSON.

public static Task<IntegrityResult> CheckAsync(SessionStore store, string? basePath = null, bool autoRepairFromSqlite = false)

Parameters

store SessionStore
basePath string
autoRepairFromSqlite bool

Returns

Task<IntegrityResult>