mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
refactor(ext/node): allow injecting NodeFs
from CLI (#18829)
This allows providing a `NodeFs` as part of the `WorkerOptions`.
This commit is contained in:
parent
bb74e75a04
commit
aa286fdecb
24 changed files with 1631 additions and 1687 deletions
|
@ -39,5 +39,4 @@ pub use worker_bootstrap::BootstrapOptions;
|
|||
pub struct RuntimeNodeEnv;
|
||||
impl deno_node::NodeEnv for RuntimeNodeEnv {
|
||||
type P = permissions::PermissionsContainer;
|
||||
type Fs = deno_node::RealFs;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue