Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(runtime): remove 40_files.js, 40_write_file.js and 40_read_file.js #18018

Merged
merged 6 commits into from
Mar 5, 2023

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Mar 5, 2023

JavaScript APIs from "runtime/js/40_files.js" combined abstractions
for stdio streams ("Stdout", "Stderr", "Stdin") and file system file ("File",
"FsFile"). APIs from "runtime/js/40_read_file.js" and
"runtime/js/40_write_file.js" were implemented using ops from
"runtime/ops/fs.rs".

This file was removed and relevant APIs were moved to "deno_io/12_io.js"
and "runtime/js/30_fs.js".

This work is meant to enable factoring out "deno_fs" crate.

@bartlomieju bartlomieju marked this pull request as ready for review March 5, 2023 01:40
@bartlomieju bartlomieju enabled auto-merge (squash) March 5, 2023 01:44
@bartlomieju bartlomieju changed the title refactor(runtime): remove runtime/js/40_files.js refactor(runtime): remove 40_files.js and 40_read_file.js Mar 5, 2023
@bartlomieju bartlomieju changed the title refactor(runtime): remove 40_files.js and 40_read_file.js refactor(runtime): remove 40_files.js, 40_write_file.js and 40_read_file.js Mar 5, 2023
@bartlomieju bartlomieju enabled auto-merge (squash) March 5, 2023 02:16
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit 888ceac into denoland:main Mar 5, 2023
@bartlomieju bartlomieju deleted the merge_fs_js_files branch March 5, 2023 03:37
kt3k pushed a commit that referenced this pull request Mar 10, 2023
…ile.js (#18018)

JavaScript APIs from "runtime/js/40_files.js" combined abstractions
for stdio streams ("Stdout", "Stderr", "Stdin") and file system file
("File", "FsFile"). APIs from "runtime/js/40_read_file.js" and 
"runtime/js/40_write_file.js" were implemented using ops from 
"runtime/ops/fs.rs".

This file was removed and relevant APIs were moved to "deno_io/12_io.js"
and "runtime/js/30_fs.js".

This work is meant to enable factoring out "deno_fs" crate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants