MCPcopy Create free account
hub / github.com/anomalyco/opencode / windowStorage

Function windowStorage

packages/app/src/utils/persist.ts:352–355  ·  view source on GitHub ↗
(windowID: string)

Source from the content-addressed store, hash-verified

350}
351
352function windowStorage(windowID: string) {
353 const safe = (windowID || "browser").replace(/[^a-zA-Z0-9._-]/g, "-")
354 return `${WINDOW_STORAGE}.${safe}.dat`
355}
356
357function legacyWorkspaceStorage(dir: string) {
358 const storage = workspaceStorage(pathKey(dir))

Callers 1

resolveTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected