Sha256: d0d5559a7b7a690a937fd72eb5eb4b492f6034a9383b8254042483c8ce31f8ae
Contents?: true
Size: 734 Bytes
Versions: 46
Compression:
Stored size: 734 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class DirentFromStats { constructor(name, stats) { this.name = name; this.isBlockDevice = stats.isBlockDevice.bind(stats); this.isCharacterDevice = stats.isCharacterDevice.bind(stats); this.isDirectory = stats.isDirectory.bind(stats); this.isFIFO = stats.isFIFO.bind(stats); this.isFile = stats.isFile.bind(stats); this.isSocket = stats.isSocket.bind(stats); this.isSymbolicLink = stats.isSymbolicLink.bind(stats); } } function createDirentFromStats(name, stats) { return new DirentFromStats(name, stats); } exports.createDirentFromStats = createDirentFromStats;
Version data entries
46 entries across 23 versions & 1 rubygems