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

Function makeTempDir

plugins/plugin-eval/tests/plugin-eval.test.js:25–27  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

23const nodeBin = process.execPath;
24
25async function makeTempDir(prefix) {
26 return fs.mkdtemp(path.join(os.tmpdir(), `${prefix}-`));
27}
28
29async function writeSkillFixture(rootPath, { description, bodyLines }) {
30 await fs.mkdir(rootPath, { recursive: true });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected