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

Function doCheckpoint

packages/node-runtime/src/import/streaming-importer.ts:244–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 }
243
244 const doCheckpoint = () => {
245 try {
246 db.pragma('wal_checkpoint(TRUNCATE)')
247 } catch {
248 /* ignore */
249 }
250 }
251
252 const commitAndBeginNew = () => {
253 if (inTransaction) {

Callers 2

commitAndBeginNewFunction · 0.85
streamImportSingleFunction · 0.85

Calls 1

pragmaMethod · 0.65

Tested by

no test coverage detected