diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-04-03 19:01:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 19:01:02 +0200 |
commit | 51d3fb78ad2453e649d01bcc833ecfec1a05d685 (patch) | |
tree | a093cd2ad4faf1cb1fc069de8c406aeef69e1b5a /runtime/permissions/mod.rs | |
parent | 2846bbe0a3de0cc366006f97023ce146112c40c9 (diff) |
refactor: remove "ext/flash" (#18578)
With https://github.com/denoland/deno/pull/18568 landed we no longer
need "ext/flash".
This commit removes "deno_flash" extension completely.
This should have some impact on the binary and snapshot size.
Closes https://github.com/denoland/deno/issues/17356
Diffstat (limited to 'runtime/permissions/mod.rs')
-rw-r--r-- | runtime/permissions/mod.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/permissions/mod.rs b/runtime/permissions/mod.rs index 2093b08f9..7e1772ee3 100644 --- a/runtime/permissions/mod.rs +++ b/runtime/permissions/mod.rs @@ -1826,17 +1826,6 @@ impl PermissionsContainer { } } -impl deno_flash::FlashPermissions for PermissionsContainer { - #[inline(always)] - fn check_net<T: AsRef<str>>( - &mut self, - host: &(T, Option<u16>), - api_name: &str, - ) -> Result<(), AnyError> { - self.0.lock().net.check(host, Some(api_name)) - } -} - impl deno_node::NodePermissions for PermissionsContainer { #[inline(always)] fn check_read(&mut self, path: &Path) -> Result<(), AnyError> { |