Buckets:
| import type { CacheFs } from '../../shared/lib/utils' | |
| import fs from 'fs' | |
| export const nodeFs: CacheFs = { | |
| existsSync: fs.existsSync, | |
| readFile: fs.promises.readFile, | |
| readFileSync: fs.readFileSync, | |
| writeFile: (f, d) => fs.promises.writeFile(f, d), | |
| mkdir: (dir) => fs.promises.mkdir(dir, { recursive: true }), | |
| stat: (f) => fs.promises.stat(f), | |
| } | |
Xet Storage Details
- Size:
- 358 Bytes
- Xet hash:
- 12adfef1c8b5270cffd89b7351b0e1dfb159e03c9c9218fc4b0d3c55a9309752
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.