mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
10ae5ee265
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.