MCPcopy Create free account
hub / github.com/CaviraOSS/PageLM / close

Method close

backend/src/utils/database/sqlite.ts:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 }
37
38 close(): Promise<void> {
39 return new Promise((resolve, reject) => {
40 this.db.close((err) => {
41 if (err) reject(err)
42 else resolve()
43 })
44 })
45 }
46}
47
48const dbPath = path.join(process.cwd(), 'storage', 'database.sqlite')

Callers 15

PlannerFunction · 0.80
startRecordingFunction · 0.80
cancelRecordingFunction · 0.80
TranscriberFunction · 0.80
DebateFunction · 0.80
fetchAnalysisFunction · 0.80
ChatFunction · 0.80
connectChatStreamFunction · 0.80
connectExamStreamFunction · 0.80
connectSmartnotesStreamFunction · 0.80
connectPodcastStreamFunction · 0.80
connectQuizStreamFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected