⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
makarnacimmix.xyz
/
node_modules
/
path-type
/
View File Name :
index.js
'use strict'; var fs = require('graceful-fs'); var Promise = require('pinkie-promise'); var pify = require('pify'); function type(fn, fn2, fp) { if (typeof fp !== 'string') { return Promise.reject(new TypeError('Expected a string')); } return pify(fs[fn], Promise)(fp).then(function (stats) { return stats[fn2](); }); } function typeSync(fn, fn2, fp) { if (typeof fp !== 'string') { throw new TypeError('Expected a string'); } return fs[fn](fp)[fn2](); } exports.file = type.bind(null, 'stat', 'isFile'); exports.dir = type.bind(null, 'stat', 'isDirectory'); exports.symlink = type.bind(null, 'lstat', 'isSymbolicLink'); exports.fileSync = typeSync.bind(null, 'statSync', 'isFile'); exports.dirSync = typeSync.bind(null, 'statSync', 'isDirectory'); exports.symlinkSync = typeSync.bind(null, 'lstatSync', 'isSymbolicLink');