1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export = isExe;
|
9 |
|
10 | declare function isExe(path: string, options?: isExe.Options): Promise<boolean>;
|
11 | declare function isExe(
|
12 | path: string,
|
13 | callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void
|
14 | ): void;
|
15 | declare function isExe(
|
16 | path: string,
|
17 | options: isExe.Options,
|
18 | callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void
|
19 | ): void;
|
20 |
|
21 | declare namespace isExe {
|
22 | function sync(path: string, options?: Options): boolean;
|
23 |
|
24 | interface Options {
|
25 | ignoreErrors?: boolean | undefined;
|
26 | uid?: number | undefined;
|
27 | gid?: number | undefined;
|
28 | pathExt?: string | undefined;
|
29 | }
|
30 | }
|