MCPcopy Create free account
hub / github.com/github/gh-aw / makeTempDir

Function makeTempDir

actions/setup/js/apply_samples.test.cjs:29–31  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

27const require = createRequire(import.meta.url);
28
29function makeTempDir(prefix) {
30 return fs.mkdtempSync(path.join(os.tmpdir(), prefix));
31}
32
33function git(args, cwd) {
34 const r = spawnSync("git", args, { cwd, encoding: "utf8" });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected