tra-analysis/website/functions/node_modules/@nodelib/fs.stat/out/managers/options.js

13 lines
389 B
JavaScript
Raw Normal View History

2019-01-06 19:14:45 +00:00
"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;