main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
666 bytes
|
Rev | Line | |
---|
[d565449] | 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.