aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@nodelib/fs.stat/out/managers/options.js
blob: ae529226ed6da6e17b2cfd7267b04329c4832c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"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;