UNPKG

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