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

Function snapshotWorkspace

plugins/plugin-eval/src/core/benchmark-workspace.js:217–221  ·  view source on GitHub ↗
(rootPath)

Source from the content-addressed store, hash-verified

215}
216
217export async function snapshotWorkspace(rootPath) {
218 const entries = new Map();
219 await visitSnapshot(rootPath, rootPath, entries);
220 return entries;
221}
222
223export function diffWorkspaceSnapshots(beforeSnapshot, afterSnapshot) {
224 const added = [];

Callers 1

runBenchmarkFunction · 0.90

Calls 1

visitSnapshotFunction · 0.85

Tested by

no test coverage detected