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

feat(std/node): add writeBuffer of internal binding fs module #888

Merged
merged 5 commits into from
Jul 6, 2021

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Apr 29, 2021

This PR implements writeBuffer function (sync part) in node.js internal binding fs module (internalBinding("fs").writeBuffer(...).

This function is used in the net.Socket implementation (ref, related #694). net.Socket is the parent class of tty.WriteStream and process.stdout is an instance of tty.WriteStream.

@kt3k kt3k force-pushed the feat/node-internal-binding-fs branch from 161932d to d5b960b Compare April 30, 2021 06:42
@kt3k kt3k force-pushed the feat/node-internal-binding-fs branch from b83eef1 to caba10e Compare April 30, 2021 08:28
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kt3k kt3k merged commit fa2b0d6 into denoland:main Jul 6, 2021
@kt3k kt3k deleted the feat/node-internal-binding-fs branch July 6, 2021 16:01
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.

2 participants