MCPcopy Create free account
hub / github.com/callstack/agent-device / formatScreenshotDiffHintLines

Function formatScreenshotDiffHintLines

src/utils/output.ts:391–395  ·  view source on GitHub ↗
(data: ScreenshotDiffResult, useColor: boolean)

Source from the content-addressed store, hash-verified

389}
390
391function formatScreenshotDiffHintLines(data: ScreenshotDiffResult, useColor: boolean): string[] {
392 const hints = formatScreenshotDiffHints(data);
393 if (hints.length === 0) return [];
394 return [` ${formatMuted('Hints:', useColor)}`, ...hints.map((hint) => ` - ${hint}`)];
395}
396
397function formatScreenshotDiffRegionLines(data: ScreenshotDiffResult, useColor: boolean): string[] {
398 const regions = Array.isArray(data.regions) ? data.regions : [];

Callers 1

formatScreenshotDiffTextFunction · 0.85

Calls 2

formatMutedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…