Files
openclaw/scripts/lib/source-file-scan-cache.d.mts
Peter Steinberger 1136757174 refactor: consolidate bounded concurrency on p-limit and p-map (#106002)
* refactor: adopt p-limit and p-map for bounded concurrency

* chore: normalize lockfile ordering

* fix: preserve memory host concurrency export

* refactor: keep media apply within size budget

* fix: drain memory concurrency before failure

* fix: satisfy memory concurrency guards

* chore: scope memory host dead-code checks

* chore: lower concurrency LOC baselines

* fix: preserve concurrency API surfaces

* chore: reconcile concurrency LOC baseline

* test: keep memory concurrency gate portable

* style: simplify concurrency drain

* ci: refresh deadcode export baseline
2026-07-13 01:53:28 -07:00

10 lines
351 B
TypeScript

export function collectSourceFileContents(params: {
repoRoot: string;
scanRoots: string[];
scanExtensions: Set<string>;
ignoredDirNames: Set<string>;
maxConcurrentReads?: number;
maxFileBytes?: number;
readFile?: (filePath: string) => Promise<string>;
}): Promise<Array<{ absoluteFile: string; content: string; relativeFile: string }>>;