tra-analysis/website/functions/node_modules/@nodelib/fs.stat/out/managers/options.js
2019-01-06 13:14:45 -06:00

13 lines
389 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fsAdapter = require("../adapters/fs");
function prepare(opts) {
const options = Object.assign({
fs: fsAdapter.getFileSystemAdapter(opts ? opts.fs : undefined),
throwErrorOnBrokenSymlinks: true,
followSymlinks: true
}, opts);
return options;
}
exports.prepare = prepare;