UNPKG

606 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.Settings = void 0;
4const fs = require("./adapters/fs");
5class Settings {
6 followSymbolicLink;
7 fs;
8 markSymbolicLink;
9 throwErrorOnBrokenSymbolicLink;
10 constructor(options = {}) {
11 this.followSymbolicLink = options.followSymbolicLink ?? true;
12 this.fs = fs.createFileSystemAdapter(options.fs);
13 this.markSymbolicLink = options.markSymbolicLink ?? false;
14 this.throwErrorOnBrokenSymbolicLink = options.throwErrorOnBrokenSymbolicLink ?? true;
15 }
16}
17exports.Settings = Settings;