mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fac6447815
Turns out we were cloning permissions which after prompting were discarded, so the state of permissions was never preserved. To handle that we need to store all permissions behind "Arc<Mutex<>>" (because there are situations where we need to send them to other thread). Testing and benching code still uses "Permissions" in most places - it's undesirable to share the same permission set between various test/bench files - otherwise granting or revoking permissions in one file would influence behavior of other test files. |
||
---|---|---|
.. | ||
os | ||
web_worker | ||
fs.rs | ||
fs_events.rs | ||
http.rs | ||
io.rs | ||
mod.rs | ||
permissions.rs | ||
process.rs | ||
runtime.rs | ||
signal.rs | ||
spawn.rs | ||
tty.rs | ||
utils.rs | ||
web_worker.rs | ||
worker_host.rs |