MCPcopy
hub / github.com/triggerdotdev/trigger.dev / createTempDir

Function createTempDir

packages/cli-v3/src/utilities/fileSystem.ts:89–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88// Create a temporary directory within the OS's temp directory
89export async function createTempDir(): Promise<string> {
90 // Generate a unique temp directory path
91 const tempDirPath: string = pathModule.join(tmpdir(), "trigger-");
92
93 // Create the temp directory synchronously and return the path
94 const directory = await fsModule.mkdtemp(tempDirPath);
95
96 return directory;
97}

Callers 4

saveLogsFunction · 0.90
compileProjectFunction · 0.90
readConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…