Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexkit/magic-context
/ getOpenCodeStorageDir
Function
getOpenCodeStorageDir
packages/plugin/src/shared/data-path.ts:154–156 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
152
}
153
154
export
function
getOpenCodeStorageDir(): string {
155
return
path.join(getDataDir(),
"opencode"
,
"storage"
);
156
}
157
158
/**
159
* Resolve the shared magic-context storage directory.
Callers
4
data-path.test.ts
File · 0.90
resolveOpenCodeDatabasePath
Function · 0.90
resolveContextDatabasePath
Function · 0.90
getLegacyOpenCodeMagicContextStorageDir
Function · 0.85
Calls
1
getDataDir
Function · 0.70
Tested by
no test coverage detected