Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
666 bytes
|
Rev | Line | |
---|
[6a3a178] | 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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.