import "../_dnt.polyfills.js"; import * as dntShim from "../_dnt.shims.js"; import * as path from "../deps/std/path.js" export async function tempDir(parentDir: string, name: string) { const dir = path.join(parentDir, name, timeKey()) await dntShim.Deno.mkdir(dir, { recursive: true }) return dir } function timeKey() { return new Date().toISOString().replace(/[:T.]/g, "-").slice(0, -1) }