1 | import * as fsStat from '@nodelib/fs.stat';
|
2 | import * as fs from './adapters/fs';
|
3 | export interface Options {
|
4 | followSymbolicLinks?: boolean;
|
5 | fs?: Partial<fs.FileSystemAdapter>;
|
6 | pathSegmentSeparator?: string;
|
7 | stats?: boolean;
|
8 | throwErrorOnBrokenSymbolicLink?: boolean;
|
9 | }
|
10 | export default class Settings {
|
11 | private readonly _options;
|
12 | readonly followSymbolicLinks: boolean;
|
13 | readonly fs: fs.FileSystemAdapter;
|
14 | readonly pathSegmentSeparator: string;
|
15 | readonly stats: boolean;
|
16 | readonly throwErrorOnBrokenSymbolicLink: boolean;
|
17 | readonly fsStatSettings: fsStat.Settings;
|
18 | constructor(_options?: Options);
|
19 | private _getValue;
|
20 | }
|