1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.Settings = void 0;
|
4 | const fs = require("./adapters/fs");
|
5 | class 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 | }
|
17 | exports.Settings = Settings;
|