Spaces:
Running
Running
Download node_modules/next/dist/server/cache-dir.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 757 Bytes
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/cache-dir.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/cache-dir.js
-
curl -L -o cache-dir.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/cache-dir.js
757 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "getStorageDirectory", { | |
| enumerable: true, | |
| get: function() { | |
| return getStorageDirectory; | |
| } | |
| }); | |
| const _path = /*#__PURE__*/ _interop_require_default(require("path")); | |
| const _isdocker = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/is-docker")); | |
| function _interop_require_default(obj) { | |
| return obj && obj.__esModule ? obj : { | |
| default: obj | |
| }; | |
| } | |
| function getStorageDirectory(distDir) { | |
| const isLikelyEphemeral = (0, _isdocker.default)(); | |
| if (isLikelyEphemeral) { | |
| return undefined; | |
| } | |
| return _path.default.join(distDir, 'cache'); | |
| } | |
| //# sourceMappingURL=cache-dir.js.map |