Buckets:
| import path from 'path' | |
| import isDockerFunction from 'next/dist/compiled/is-docker' | |
| export function getStorageDirectory(distDir: string): string | undefined { | |
| const isLikelyEphemeral = isDockerFunction() | |
| if (isLikelyEphemeral) { | |
| return undefined | |
| } | |
| return path.join(distDir, 'cache') | |
| } | |
Xet Storage Details
- Size:
- 299 Bytes
- Xet hash:
- 1c647488d00f568d8fc2cf57db5765d97f16a4cd34e7a6f25623cc49857225a9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.