MCPcopy Create free account
hub / github.com/dyoshikawa/rulesync / createTempDirectory

Function createTempDirectory

src/utils/file.ts:422–424  ·  view source on GitHub ↗
(prefix = "rulesync-fetch-")

Source from the content-addressed store, hash-verified

420 * @returns The full path to the created temporary directory
421 */
422export async function createTempDirectory(prefix = "rulesync-fetch-"): Promise<string> {
423 return mkdtemp(join(os.tmpdir(), prefix));
424}
425
426/**
427 * Remove a temporary directory and all its contents.

Callers 2

fetchSkillFilesFunction · 0.85
fetchAndConvertToolFilesFunction · 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…