Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChatLab/ChatLab
/ hasIndex
Method
hasIndex
src/services/session-index/fetch.ts:53–56 ·
view source on GitHub ↗
(sessionId: string)
Source
from the content-addressed store, hash-verified
51
}
52
53
async
hasIndex(sessionId: string): Promise<boolean> {
54
const
stats =
await
this.getStats(sessionId)
55
return
stats.hasIndex
56
}
57
58
async
getStats(sessionId: string): Promise<SessionStats> {
59
try {
Callers
nothing calls this directly
Calls
1
getStats
Method · 0.95
Tested by
no test coverage detected