"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