mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
21 lines
875 B
TypeScript
21 lines
875 B
TypeScript
|
Deno.permissions.requestSync({ name: "run", command: "FOO" });
|
||
|
Deno.permissions.requestSync({ name: "run", command: "BAR" });
|
||
|
|
||
|
Deno.permissions.requestSync({ name: "read", path: "FOO" });
|
||
|
Deno.permissions.requestSync({ name: "read", path: "BAR" });
|
||
|
|
||
|
Deno.permissions.requestSync({ name: "write", path: "FOO" });
|
||
|
Deno.permissions.requestSync({ name: "write", path: "BAR" });
|
||
|
|
||
|
Deno.permissions.requestSync({ name: "net", host: "FOO" });
|
||
|
Deno.permissions.requestSync({ name: "net", host: "BAR" });
|
||
|
|
||
|
Deno.permissions.requestSync({ name: "env", variable: "FOO" });
|
||
|
Deno.permissions.requestSync({ name: "env", variable: "BAR" });
|
||
|
|
||
|
Deno.permissions.requestSync({ name: "sys", kind: "loadavg" });
|
||
|
Deno.permissions.requestSync({ name: "sys", kind: "hostname" });
|
||
|
|
||
|
Deno.permissions.requestSync({ name: "ffi", path: "FOO" });
|
||
|
Deno.permissions.requestSync({ name: "ffi", path: "BAR" });
|