MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / decline

Function decline

src/codegraph/helper-extract.ts:237–237  ·  view source on GitHub ↗
(reason: string)

Source from the content-addressed store, hash-verified

235 */
236export function proposeParameterizedHelper(members: FunctionUnit[], helperName = 'extractedHelper'): ParamProposal {
237 const decline = (reason: string): ParamProposal => ({ ok: false, reason, helperName, params: [], sketch: '', calls: [] });
238 if (members.length < 2) return decline('need at least two functions');
239
240 // Neutralize each function's own name, and strip comments BEFORE aligning: two bodies that

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected