| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/node_modules/@nodelib/fs.macchiato/out/ |
Upload File : |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Dirent {
constructor(_options = {}) {
var _a;
this._options = _options;
this.name = (_a = this._options.name) !== null && _a !== void 0 ? _a : 'unknown.txt';
}
isFile() {
var _a;
return (_a = this._options.isFile) !== null && _a !== void 0 ? _a : true;
}
isDirectory() {
var _a;
return (_a = this._options.isDirectory) !== null && _a !== void 0 ? _a : false;
}
isBlockDevice() {
var _a;
return (_a = this._options.isBlockDevice) !== null && _a !== void 0 ? _a : false;
}
isCharacterDevice() {
var _a;
return (_a = this._options.isCharacterDevice) !== null && _a !== void 0 ? _a : false;
}
isSymbolicLink() {
var _a;
return (_a = this._options.isSymbolicLink) !== null && _a !== void 0 ? _a : false;
}
isFIFO() {
var _a;
return (_a = this._options.isFIFO) !== null && _a !== void 0 ? _a : false;
}
isSocket() {
var _a;
return (_a = this._options.isSocket) !== null && _a !== void 0 ? _a : false;
}
}
exports.default = Dirent;