mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
913e2875c1
This commit adds associated type to "NodeEnv" trait, called "Fs". The "Fs" type has a trait bound on "NodeFs", which specifies APIs required for all ops and resolution APIs to function. A "RealFs" implementation of "NodeFs" is exported from the "deno_node" crate, that provides a default implementation for the trait. All code in "deno_node" extension was changed to use the "NodeFs" trait to handle file system operations, instead of relying on APIs from the standard library. |
||
---|---|---|
.. | ||
crypto | ||
polyfills | ||
zlib | ||
Cargo.toml | ||
clippy.toml | ||
errors.rs | ||
idna.rs | ||
lib.rs | ||
ops.rs | ||
package_json.rs | ||
path.rs | ||
polyfill.rs | ||
README.md | ||
resolution.rs | ||
v8.rs | ||
winerror.rs |
deno_node
require
and other node related functionality for Deno.