UNPKG

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