mirror of
https://github.com/denoland/deno.git
synced 2024-12-03 17:08:35 -05:00
3628895471
Use `access` on *nix and `GetFileAttributesW` on Windows. [Benchmark](https://paste.divy.work/p/-gq8Ark.js): ``` $ deno run -A bench.mjs # main (568dd) existsSync: 8980.636629ms $ target/release/deno run -A bench.mjs # this PR existsSync: 6448.7604519999995ms $ bun bench.mjs existsSync: 6562.88671ms $ node bench.mjs existsSync: 7740.064653ms ``` Ref https://github.com/denoland/deno/pull/24434#discussion_r1679777912 |
||
---|---|---|
.. | ||
30_fs.js | ||
Cargo.toml | ||
clippy.toml | ||
in_memory_fs.rs | ||
interface.rs | ||
lib.rs | ||
ops.rs | ||
README.md | ||
std_fs.rs | ||
sync.rs |
deno_fs
This crate provides ops for interacting with the file system.