MCPcopy Index your code
hub / github.com/callstack/agent-device / appendRefLabel

Function appendRefLabel

src/daemon/session-script-writer.ts:232–237  ·  view source on GitHub ↗
(parts: string[], action: SessionAction)

Source from the content-addressed store, hash-verified

230}
231
232function appendRefLabel(parts: string[], action: SessionAction): void {
233 const refLabel = action.result?.refLabel;
234 if (typeof refLabel === 'string' && refLabel.trim().length > 0) {
235 parts.push(formatScriptArg(refLabel));
236 }
237}

Callers 3

formatFillActionLineFunction · 0.85
formatGetActionLineFunction · 0.85

Calls 2

formatScriptArgFunction · 0.90
pushMethod · 0.80

Tested by

no test coverage detected