MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / rebuildFts

Function rebuildFts

packages/node-runtime/src/services/session-index-service.ts:51–54  ·  view source on GitHub ↗
(adapter: SessionRuntimeAdapter, sessionId: string)

Source from the content-addressed store, hash-verified

49}
50
51export function rebuildFts(adapter: SessionRuntimeAdapter, sessionId: string) {
52 const db = adapter.ensureWritable(sessionId)
53 return rebuildFtsIndex(db)
54}
55
56export interface SessionIndexStatusItem {
57 sessionId: string

Callers

nothing calls this directly

Calls 2

rebuildFtsIndexFunction · 0.90
ensureWritableMethod · 0.80

Tested by

no test coverage detected