source: trip-planner-front/node_modules/@babel/core/lib/gensync-utils/fs.js@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 576 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.stat = exports.readFile = void 0;
7
8function _fs() {
9 const data = require("fs");
10
11 _fs = function () {
12 return data;
13 };
14
15 return data;
16}
17
18function _gensync() {
19 const data = require("gensync");
20
21 _gensync = function () {
22 return data;
23 };
24
25 return data;
26}
27
28const readFile = _gensync()({
29 sync: _fs().readFileSync,
30 errback: _fs().readFile
31});
32
33exports.readFile = readFile;
34
35const stat = _gensync()({
36 sync: _fs().statSync,
37 errback: _fs().stat
38});
39
40exports.stat = stat;
Note: See TracBrowser for help on using the repository browser.