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

Function getFtsStatus

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

Source from the content-addressed store, hash-verified

33}
34
35export function getFtsStatus(adapter: SessionRuntimeAdapter, sessionId: string): boolean {
36 const db = adapter.ensureReadonly(sessionId)
37 return hasFtsTable(db)
38}
39
40export function searchFts(
41 adapter: SessionRuntimeAdapter,

Callers

nothing calls this directly

Calls 2

hasFtsTableFunction · 0.90
ensureReadonlyMethod · 0.80

Tested by

no test coverage detected