source: trip-planner-front/node_modules/@nodelib/fs.walk/out/settings.d.ts@ fa375fe

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: 1.1 KB
Line 
1import * as fsScandir from '@nodelib/fs.scandir';
2import type { Entry, Errno } from './types';
3export declare type FilterFunction<T> = (value: T) => boolean;
4export declare type DeepFilterFunction = FilterFunction<Entry>;
5export declare type EntryFilterFunction = FilterFunction<Entry>;
6export declare type ErrorFilterFunction = FilterFunction<Errno>;
7export interface Options {
8 basePath?: string;
9 concurrency?: number;
10 deepFilter?: DeepFilterFunction;
11 entryFilter?: EntryFilterFunction;
12 errorFilter?: ErrorFilterFunction;
13 followSymbolicLinks?: boolean;
14 fs?: Partial<fsScandir.FileSystemAdapter>;
15 pathSegmentSeparator?: string;
16 stats?: boolean;
17 throwErrorOnBrokenSymbolicLink?: boolean;
18}
19export default class Settings {
20 private readonly _options;
21 readonly basePath?: string;
22 readonly concurrency: number;
23 readonly deepFilter: DeepFilterFunction | null;
24 readonly entryFilter: EntryFilterFunction | null;
25 readonly errorFilter: ErrorFilterFunction | null;
26 readonly pathSegmentSeparator: string;
27 readonly fsScandirSettings: fsScandir.Settings;
28 constructor(_options?: Options);
29 private _getValue;
30}
Note: See TracBrowser for help on using the repository browser.