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

Function pathExists

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

Source from the content-addressed store, hash-verified

44]);
45
46export async function pathExists(targetPath) {
47 try {
48 await fs.access(targetPath);
49 return true;
50 } catch {
51 return false;
52 }
53}
54
55export async function isDirectory(targetPath) {
56 try {

Callers 13

readInvocationPolicyFunction · 0.90
computePluginBudgetFunction · 0.90
runMetricPacksFunction · 0.90
collectSkillSamplesFunction · 0.90
collectPluginSamplesFunction · 0.90
loadBenchmarkConfigFunction · 0.90
runBenchmarkFunction · 0.90
loadSnapshotsFromFileFunction · 0.90
buildWorkflowGuideFunction · 0.90
resolveTargetFunction · 0.90
evaluatePluginFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected