⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
@babel
/
core
/
lib
/
config
/
files
/
View File Name :
utils.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.makeStaticFileCache = makeStaticFileCache; var _caching = require("../caching"); var fs = require("../../gensync-utils/fs"); function _fs2() { const data = require("fs"); _fs2 = function () { return data; }; return data; } function makeStaticFileCache(fn) { return (0, _caching.makeStrongCache)(function* (filepath, cache) { const cached = cache.invalidate(() => fileMtime(filepath)); if (cached === null) { return null; } return fn(filepath, yield* fs.readFile(filepath, "utf8")); }); } function fileMtime(filepath) { if (!_fs2().existsSync(filepath)) return null; try { return +_fs2().statSync(filepath).mtime; } catch (e) { if (e.code !== "ENOENT" && e.code !== "ENOTDIR") throw e; } return null; } 0 && 0; //# sourceMappingURL=utils.js.map