Buckets:
| import { mkdtemp, realpath, rm } from "node:fs/promises" | |
| import path from "node:path" | |
| import os from "node:os" | |
| export async function tmpdir() { | |
| const directory = await realpath(await mkdtemp(path.join(os.tmpdir(), "opencode-tui-test-"))) | |
| return { | |
| path: directory, | |
| async [Symbol.asyncDispose]() { | |
| await rm(directory, { recursive: true, force: true }) | |
| }, | |
| } | |
| } | |
Xet Storage Details
- Size:
- 382 Bytes
- Xet hash:
- 8fe4cbf68f7a21102e32745e42daabddae5b841651a22432eeaa29a61ae994f9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.