/
opt
/
canhelp
/
node_modules
/
@nodelib
/
fs.walk
/
out
/
/opt/canhelp/node_modules/@nodelib/fs.walk/out
mkdir
upload
Name
Size
Mode
Actions
providers/
-
0755
rm
readers/
-
0755
rm
types/
-
0755
rm
index.d.ts
1019
0644
edit
dl
rm
index.js
1390
0644
edit
dl
rm
settings.d.ts
1175
0644
edit
dl
rm
settings.js
1250
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/@nodelib/fs.walk/out/settings.js
(1250B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const path = require("path"); const fsScandir = require("@nodelib/fs.scandir"); class Settings { constructor(_options = {}) { this._options = _options; this.basePath = this._getValue(this._options.basePath, undefined); this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY); this.deepFilter = this._getValue(this._options.deepFilter, null); this.entryFilter = this._getValue(this._options.entryFilter, null); this.errorFilter = this._getValue(this._options.errorFilter, null); this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep); this.fsScandirSettings = new fsScandir.Settings({ followSymbolicLinks: this._options.followSymbolicLinks, fs: this._options.fs, pathSegmentSeparator: this._options.pathSegmentSeparator, stats: this._options.stats, throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink }); } _getValue(option, value) { return option !== null && option !== void 0 ? option : value; } } exports.default = Settings;
Save
cmd:
run