mirror of
https://github.com/denoland/deno.git
synced 2024-12-02 17:01:14 -05:00
93b8c72d89
2 fixes related to sync fs:
* update the 2 sync methods on `Resource` trait to take `Rc<Self>`
(consistent with other methods)
* fix a bug in `StdFileResource::with_inner_and_metadata`, which
currently can trigger a panic if a sync method is called on a file with
a pending async operation. This could happen in the code path where
`File::try_clone`
[fails](
|
||
---|---|---|
.. | ||
12_io.js | ||
Cargo.toml | ||
lib.rs | ||
README.md |
deno_io
This crate provides IO primitives for other Deno extensions, this includes stdio streams and abstraction over File System files.