silverwolf-x's picture
download
raw
403 Bytes
import { recursiveDeleteSyncWithAsyncRetries } from 'next/dist/lib/recursive-delete.js'
const targetDir = process.argv[2]
async function test() {
const time = process.hrtime()
await recursiveDeleteSyncWithAsyncRetries(targetDir)
const hrtime = process.hrtime(time)
const nanoseconds = hrtime[0] * 1e9 + hrtime[1]
const milliseconds = nanoseconds / 1e6
console.log(milliseconds)
}
test()

Xet Storage Details

Size:
403 Bytes
·
Xet hash:
3c788bc473125027640382953bfc00903b61689ba1c56b5d4536a506dbd3c0ce

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.