Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenCoworkAI/open-codesign
/ snapshots-db.test.ts
File
snapshots-db.test.ts
apps/desktop/src/main/snapshots-db.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ mkdtemp, readFile, rm } from
'node:fs/promises'
;
2
import
{ tmpdir } from
'node:os'
;
3
import
path from
'node:path'
;
4
import
{ describe, expect, it, vi } from
'vitest'
;
Callers
nothing calls this directly
Calls
15
initSnapshotsDb
Function · 0.90
createDesign
Function · 0.90
updateDesignWorkspace
Function · 0.90
createSnapshot
Function · 0.90
getDesign
Function · 0.90
normalizeWorkspacePath
Function · 0.90
listDesigns
Function · 0.90
listSnapshots
Function · 0.90
initInMemoryDb
Function · 0.90
recordDiagnosticEvent
Function · 0.90
listDiagnosticEvents
Function · 0.90
touchDesignActivity
Function · 0.90
Tested by
no test coverage detected