mirror of
https://github.com/morluto/rea.git
synced 2026-10-12 02:19:24 +00:00
8 lines
299 B
TypeScript
8 lines
299 B
TypeScript
import { randomUUID } from "node:crypto";
|
|
import { tmpdir } from "node:os";
|
|
import { join } from "node:path";
|
|
|
|
/** Choose a fresh temporary destination for an artifact extraction. */
|
|
export const createArtifactExtractionDestination = (): string =>
|
|
join(tmpdir(), `rea-extracted-${randomUUID()}`);
|