Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
73
export
async
function
readText(targetPath) {
74
return
fs.readFile(targetPath,
"utf8"
);
75
}
76
77
export
async
function
readJson(targetPath) {
78
return
JSON.parse(
await
readText(targetPath));
Callers
14
computeDeferredComponents
Function · 0.90
readInvocationPolicy
Function · 0.90
computeSkillBudget
Function · 0.90
computePluginBudget
Function · 0.90
computeBudgetProfile
Function · 0.90
runBenchmark
Function · 0.90
loadSnapshotsFromFile
Function · 0.90
visitSnapshot
Function · 0.90
parseLcov
Function · 0.90
parseCoverageXml
Function · 0.90
analyzePythonFiles
Function · 0.90
analyzeTypeScriptFiles
Function · 0.90
Calls
1
readFile
Method · 0.80
Tested by
no test coverage detected