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

Function readText

plugins/plugin-eval/src/lib/files.js:73–75  ·  view source on GitHub ↗
(targetPath)

Source from the content-addressed store, hash-verified

71}
72
73export async function readText(targetPath) {
74 return fs.readFile(targetPath, "utf8");
75}
76
77export async function readJson(targetPath) {
78 return JSON.parse(await readText(targetPath));

Callers 14

readInvocationPolicyFunction · 0.90
computeSkillBudgetFunction · 0.90
computePluginBudgetFunction · 0.90
computeBudgetProfileFunction · 0.90
runBenchmarkFunction · 0.90
loadSnapshotsFromFileFunction · 0.90
visitSnapshotFunction · 0.90
parseLcovFunction · 0.90
parseCoverageXmlFunction · 0.90
analyzePythonFilesFunction · 0.90
analyzeTypeScriptFilesFunction · 0.90

Calls 1

readFileMethod · 0.80

Tested by

no test coverage detected