Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 52.14.238.102
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
is-directory /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE
1.06
KB
-rw-r--r--
2015-03-22 02:01
README.md
2.34
KB
-rw-r--r--
2016-05-21 18:30
index.js
1.09
KB
-rw-r--r--
2016-05-21 18:29
package.json
2.05
KB
-rw-r--r--
2021-02-04 21:24
Save
Rename
/*! * is-directory <https://github.com/jonschlinkert/is-directory> * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; var fs = require('fs'); /** * async */ function isDirectory(filepath, cb) { if (typeof cb !== 'function') { throw new Error('expected a callback function'); } if (typeof filepath !== 'string') { cb(new Error('expected filepath to be a string')); return; } fs.stat(filepath, function(err, stats) { if (err) { if (err.code === 'ENOENT') { cb(null, false); return; } cb(err); return; } cb(null, stats.isDirectory()); }); } /** * sync */ isDirectory.sync = function isDirectorySync(filepath) { if (typeof filepath !== 'string') { throw new Error('expected filepath to be a string'); } try { var stat = fs.statSync(filepath); return stat.isDirectory(); } catch (err) { if (err.code === 'ENOENT') { return false; } else { throw err; } } return false; }; /** * Expose `isDirectory` */ module.exports = isDirectory;