MCPcopy Index your code
hub / github.com/openai/codex-plugin-cc / resolveCommandCwd

Function resolveCommandCwd

plugins/codex/scripts/codex-companion.mjs:151–153  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

149}
150
151function resolveCommandCwd(options = {}) {
152 return options.cwd ? path.resolve(process.cwd(), options.cwd) : process.cwd();
153}
154
155function resolveCommandWorkspace(options = {}) {
156 return resolveWorkspaceRoot(resolveCommandCwd(options));

Callers 10

resolveCommandWorkspaceFunction · 0.85
handleSetupFunction · 0.85
handleReviewCommandFunction · 0.85
handleTaskFunction · 0.85
handleTransferFunction · 0.85
handleTaskWorkerFunction · 0.85
handleStatusFunction · 0.85
handleResultFunction · 0.85
handleCancelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected