deno/tests/specs/bench/config_permissions/workspace/a/main.bench.ts
David Sherret 17d02c228f
feat: permissions in the config file (#30330)
Co-authored-by: nathanwhit <nathanwhit@users.noreply.github.com>
2025-09-02 13:37:33 +00:00

14 lines
264 B
TypeScript

console.log(
"Root:",
Deno.permissions.querySync({
name: "read",
path: import.meta.dirname + "/../data",
}).state,
);
console.log(
"Member:",
Deno.permissions.querySync({
name: "read",
path: import.meta.dirname + "/other",
}).state,
);