MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / show

Function show

scripts/check-route-trees.ts:83–86  ·  view source on GitHub ↗
(label: string, lines: readonly string[])

Source from the content-addressed store, hash-verified

81 const missing = [...regeneratedLines].filter((line) => !committedLines.has(line));
82 const extra = [...committedLines].filter((line) => !regeneratedLines.has(line));
83 const show = (label: string, lines: readonly string[]) =>
84 lines.length === 0
85 ? []
86 : [` ${label}:`, ...lines.slice(0, 20).map((line) => ` ${line}`)];
87 return [
88 ...show("in the regenerated tree but NOT committed (missing routes)", missing),
89 ...show("committed but NOT regenerated (stale routes)", extra),

Callers 1

lineDiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected