aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/isexe/dist/commonjs/options.d.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--node_modules/isexe/dist/commonjs/options.d.ts32
1 files changed, 32 insertions, 0 deletions
diff --git a/node_modules/isexe/dist/commonjs/options.d.ts b/node_modules/isexe/dist/commonjs/options.d.ts
new file mode 100644
index 0000000..c30a29b
--- /dev/null
+++ b/node_modules/isexe/dist/commonjs/options.d.ts
@@ -0,0 +1,32 @@
+export interface IsexeOptions {
+ /**
+ * Ignore errors arising from attempting to get file access status
+ * Note that EACCES is always ignored, because that just means
+ * it's not executable. If this is not set, then attempting to check
+ * the executable-ness of a nonexistent file will raise ENOENT, for
+ * example.
+ */
+ ignoreErrors?: boolean;
+ /**
+ * effective uid when checking executable mode flags on posix
+ * Defaults to process.getuid()
+ */
+ uid?: number;
+ /**
+ * effective gid when checking executable mode flags on posix
+ * Defaults to process.getgid()
+ */
+ gid?: number;
+ /**
+ * effective group ID list to use when checking executable mode flags
+ * on posix
+ * Defaults to process.getgroups()
+ */
+ groups?: number[];
+ /**
+ * The ;-delimited path extension list for win32 implementation.
+ * Defaults to process.env.PATHEXT
+ */
+ pathExt?: string;
+}
+//# sourceMappingURL=options.d.ts.map \ No newline at end of file