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

Function fileLinks

src/context/approach-diff.ts:88–92  ·  view source on GitHub ↗
(files: string[] | undefined, refFiles?: Set<string>)

Source from the content-addressed store, hash-verified

86}
87
88function fileLinks(files: string[] | undefined, refFiles?: Set<string>): string {
89 if (!files?.length) return '';
90 const shown = files.slice(0, 4).map(f => (refFiles && !refFiles.has(f) ? `+${f}` : f));
91 return ` files: ${shown.join(', ')}${files.length > 4 ? ` (+${files.length - 4})` : ''}`;
92}
93
94/**
95 * A compact chronological timeline of the matched approaches — oldest → newest, so the EVOLUTION

Callers 1

renderApproachDiffsFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected