1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/js/ops/fs
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
..
chmod.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
chown.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
copy_file.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
dir.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
link.ts refactor: move code from fs.rs into ops/fs.rs (#4428) 2020-03-20 09:46:26 -04:00
make_temp.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
mkdir.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
open.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
read_dir.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
read_link.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
realpath.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
remove.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
rename.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
seek.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
stat.ts BREAKING CHANGE FileInfo.len renamed to FileName.size (#4338) 2020-03-14 22:57:42 -04:00
symlink.ts refactor: move code from fs.rs into ops/fs.rs (#4428) 2020-03-20 09:46:26 -04:00
truncate.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
umask.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
utime.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00