Files
starface-outlook-sync-addin/node_modules/@jsonjoy.com/json-pack/lib/nfs/v4/client/NfsFsDirent.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

32 lines
695 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NfsFsDirent = void 0;
class NfsFsDirent {
constructor(name, type) {
this.name = name;
this.type = type;
}
isDirectory() {
return this.type === 2;
}
isFile() {
return this.type === 1;
}
isBlockDevice() {
return this.type === 3;
}
isCharacterDevice() {
return this.type === 4;
}
isSymbolicLink() {
return this.type === 5;
}
isFIFO() {
return this.type === 7;
}
isSocket() {
return this.type === 6;
}
}
exports.NfsFsDirent = NfsFsDirent;
//# sourceMappingURL=NfsFsDirent.js.map