Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
commitAndBeginNew
Function · 0.85
streamImportSingle
Function · 0.85
Calls
1
pragma
Method · 0.65
Tested by
no test coverage detected