(prefix = "rulesync-fetch-")
| 420 | * @returns The full path to the created temporary directory |
| 421 | */ |
| 422 | export 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…