1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli/ops
dubiousjim 69303e2149
refactor: move code from fs.rs into ops/fs.rs (#4428)
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and
cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and
#4017, and also to avoid some future development pain.

Mostly there is no change in functionality. Except:
* squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd`
* eliminated the use of the external `remove_dir_all` crate.
* op_chmod now only queries metadata to verify file/dir exists on Windows (it
  will already fail on Unix if it doesn't)
* op_chown now verifies the file/dir's existence on Windows like chmod does.
2020-03-20 09:46:26 -04:00
..
compiler.rs Provide compiled JSON to TypeScript compiler. (#4404) 2020-03-18 12:39:53 -04:00
dispatch_json.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
dispatch_minimal.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
errors.rs Do not convert exceptions to JSON and back (#4214) 2020-03-02 14:20:16 -08:00
fetch.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
fs.rs refactor: move code from fs.rs into ops/fs.rs (#4428) 2020-03-20 09:46:26 -04:00
fs_events.rs fix: call unwatch when dropping FsEventsResource (#4266) 2020-03-05 20:01:08 -05:00
io.rs refactor: remove an unsafe and some boxing (#4398) 2020-03-16 10:46:31 -07:00
mod.rs refactor: remove cli/ops/files.rs (#4246) 2020-03-07 13:20:27 +01:00
net.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
os.rs feat(std/node): add os.tmpdir() implementation (#4213) 2020-03-01 19:05:04 -05:00
permissions.rs upgrade: Rust 1.42.0 (#4331) 2020-03-12 18:07:57 +01:00
plugins.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
process.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
random.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
repl.rs Allow BadResource errors to take a custom message (#4251) 2020-03-05 08:30:41 -05:00
resources.rs refactor: remove cli/ops/files.rs (#4246) 2020-03-07 13:20:27 +01:00
runtime.rs feat: update metrics to track different op types (#4221) 2020-03-02 19:13:36 +01:00
runtime_compiler.rs Remove _async from method names since _sync are gone (#4128) 2020-02-25 20:42:00 +01:00
signal.rs Allow BadResource errors to take a custom message (#4251) 2020-03-05 08:30:41 -05:00
timers.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
tls.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
tty.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
web_worker.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
worker_host.rs Do not convert exceptions to JSON and back (#4214) 2020-03-02 14:20:16 -08:00