1 | export declare enum ReadDirOptions {
|
2 | /**
|
3 | * Bitwise option for making the return paths absolute URIs instead of being from the supplied base path
|
4 | */
|
5 | ABSOLUTE_PATHS = 1,
|
6 | /**
|
7 | * Bitwise option for making the return array sorted case insensitively
|
8 | */
|
9 | CASELESS_SORT = 2,
|
10 | /**
|
11 | * Bitwise option for making the return array sorted case sensitively
|
12 | */
|
13 | CASE_SORT = 4,
|
14 | /**
|
15 | * Bitwise option for making the return array sorted case sensitively
|
16 | */
|
17 | INCLUDE_DIRECTORIES = 8,
|
18 | /**
|
19 | * Bitwise option for preventing the automatic removal of paths that start with a dot
|
20 | */
|
21 | INCLUDE_HIDDEN = 16,
|
22 | /**
|
23 | * Bitwise option for preventing the directory reader running recursively
|
24 | */
|
25 | NON_RECURSIVE = 32,
|
26 | /**
|
27 | * Bitwise option for preventing errors reading directories from aborting the scan whenever possible - includes
|
28 | * incorrectly rooted relative symlinks and missing root directory.
|
29 | */
|
30 | IGNORE_ERRORS = 64
|
31 | }
|
32 | export declare const ABSOLUTE_PATHS = ReadDirOptions.ABSOLUTE_PATHS;
|
33 | export declare const CASELESS_SORT = ReadDirOptions.CASELESS_SORT;
|
34 | export declare const CASE_SORT = ReadDirOptions.CASE_SORT;
|
35 | export declare const INCLUDE_DIRECTORIES = ReadDirOptions.INCLUDE_DIRECTORIES;
|
36 | export declare const INCLUDE_HIDDEN = ReadDirOptions.INCLUDE_HIDDEN;
|
37 | export declare const NON_RECURSIVE = ReadDirOptions.NON_RECURSIVE;
|
38 | export declare const IGNORE_ERRORS = ReadDirOptions.IGNORE_ERRORS;
|