Quantumbraid's picture
download
raw
696 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("./adapters/fs");
class Settings {
constructor(_options = {}) {
this._options = _options;
this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
this.fs = fs.createFileSystemAdapter(this._options.fs);
this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
}
_getValue(option, value) {
return option !== null && option !== void 0 ? option : value;
}
}
exports.default = Settings;

Xet Storage Details

Size:
696 Bytes
·
Xet hash:
04253addadba3f68b89b7021d64ccdef4c6a972b8a2171f5ba655aa2e9c5ec9f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.