MCPcopy Create free account
hub / github.com/openai/plugins / gatherDeferredTextFiles

Function gatherDeferredTextFiles

plugins/plugin-eval/src/core/budget.js:33–38  ·  view source on GitHub ↗
(rootPath, excludeFiles = [])

Source from the content-addressed store, hash-verified

31}
32
33async function gatherDeferredTextFiles(rootPath, excludeFiles = []) {
34 const files = await walkFiles(rootPath);
35 return files.filter(
36 (filePath) => !excludeFiles.includes(filePath) && isProbablyTextFile(filePath),
37 );
38}
39
40async function computeDeferredComponents(rootPath, excludeFiles = []) {
41 const files = await gatherDeferredTextFiles(rootPath, excludeFiles);

Callers 2

computeBudgetProfileFunction · 0.85

Calls 3

walkFilesFunction · 0.90
isProbablyTextFileFunction · 0.90
filterMethod · 0.80

Tested by

no test coverage detected