MCPcopy Index your code
hub / github.com/remix-run/react-router / getFileList

Function getFileList

packages/create-react-router/index.ts:372–379  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

370
371 if (collisions.length > 0) {
372 let getFileList = (prefix: string) => {
373 let moreFiles = collisions.length - 5;
374 let lines = ["", ...collisions.slice(0, 5)];
375 if (moreFiles > 0) {
376 lines.push(`and ${moreFiles} more...`);
377 }
378 return lines.join(`\n${prefix}`);
379 };
380
381 if (ctx.overwrite) {
382 info(

Callers 1

copyTempDirToAppDirStepFunction · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…