aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/isexe/dist/commonjs/posix.d.ts
blob: 04874a10d84cc336e6cbfad1aa3af92273064b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * This is the Posix implementation of isexe, which uses the file
 * mode and uid/gid values.
 *
 * @module
 */
import { IsexeOptions } from './options.js';
/**
 * Determine whether a path is executable according to the mode and
 * current (or specified) user and group IDs.
 */
export declare const isexe: (path: string, options?: IsexeOptions) => Promise<boolean>;
/**
 * Synchronously determine whether a path is executable according to
 * the mode and current (or specified) user and group IDs.
 */
export declare const sync: (path: string, options?: IsexeOptions) => boolean;
//# sourceMappingURL=posix.d.ts.map