source: trip-planner-front/node_modules/fast-glob/out/utils/fs.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 756 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.createDirentFromStats = void 0;
4class DirentFromStats {
5 constructor(name, stats) {
6 this.name = name;
7 this.isBlockDevice = stats.isBlockDevice.bind(stats);
8 this.isCharacterDevice = stats.isCharacterDevice.bind(stats);
9 this.isDirectory = stats.isDirectory.bind(stats);
10 this.isFIFO = stats.isFIFO.bind(stats);
11 this.isFile = stats.isFile.bind(stats);
12 this.isSocket = stats.isSocket.bind(stats);
13 this.isSymbolicLink = stats.isSymbolicLink.bind(stats);
14 }
15}
16function createDirentFromStats(name, stats) {
17 return new DirentFromStats(name, stats);
18}
19exports.createDirentFromStats = createDirentFromStats;
Note: See TracBrowser for help on using the repository browser.