1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/ext/fs
Luca Casonato f90caa821c
refactor(ext/fs): abstract FS via FileSystem trait (#18599)
This commit abstracts out the specifics of the underlying system calls
FS operations behind a new `FileSystem` and `File` trait in the
`ext/fs` extension.

This allows other embedders to re-use ext/fs, but substituting in a
different FS backend.

This is likely not the final form of these traits. Eventually they will
be entirely `deno_core::Resource` agnostic, and will live in a seperate
crate.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-04-12 15:13:32 +02:00
..
30_fs.js refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00
Cargo.toml refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00
clippy.toml refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00
interface.rs refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00
lib.rs refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00
ops.rs refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00
README.md refactor: Add "deno_fs" extension crate (#18040) 2023-03-07 18:13:44 +09:00
std_fs.rs refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00

deno_fs

This crate provides ops for interacting with the file system.