Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/codex-plugin-cc
/ ensureStateDir
Function
ensureStateDir
plugins/codex/scripts/lib/state.mjs:54–56 ·
view source on GitHub ↗
(cwd)
Source
from the content-addressed store, hash-verified
52
}
53
54
export
function
ensureStateDir(cwd) {
55
fs.mkdirSync(resolveJobsDir(cwd), { recursive: true });
56
}
57
58
export
function
loadState(cwd) {
59
const
stateFile = resolveStateFile(cwd);
Callers
4
saveState
Function · 0.85
writeJobFile
Function · 0.85
resolveJobLogFile
Function · 0.85
resolveJobFile
Function · 0.85
Calls
1
resolveJobsDir
Function · 0.85
Tested by
no test coverage detected