Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95366171
settings.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 15, 02:13
Size
696 B
Mime Type
text/x-c++
Expires
Tue, Dec 17, 02:13 (2 d)
Engine
blob
Format
Raw Data
Handle
22958536
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
settings.js
View Options
"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;
Event Timeline
Log In to Comment