mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
17 lines
518 B
TypeScript
17 lines
518 B
TypeScript
|
import * as fs from './adapters/fs';
|
||
|
export interface Options {
|
||
|
followSymbolicLink?: boolean;
|
||
|
fs?: Partial<fs.FileSystemAdapter>;
|
||
|
markSymbolicLink?: boolean;
|
||
|
throwErrorOnBrokenSymbolicLink?: boolean;
|
||
|
}
|
||
|
export default class Settings {
|
||
|
private readonly _options;
|
||
|
readonly followSymbolicLink: boolean;
|
||
|
readonly fs: fs.FileSystemAdapter;
|
||
|
readonly markSymbolicLink: boolean;
|
||
|
readonly throwErrorOnBrokenSymbolicLink: boolean;
|
||
|
constructor(_options?: Options);
|
||
|
private _getValue;
|
||
|
}
|