fs: allow passing true to emitClose option#29212
Closed
gntem wants to merge 4 commits intonodejs:masterfrom
Closed
fs: allow passing true to emitClose option#29212gntem wants to merge 4 commits intonodejs:masterfrom
gntem wants to merge 4 commits intonodejs:masterfrom
Conversation
Allow passing true for emitClose option for fs streams. Fixes: nodejs#29177
cjihrig
reviewed
Aug 19, 2019
Contributor
cjihrig
left a comment
There was a problem hiding this comment.
Can you add tests and some sort of documentation.
addaleax
approved these changes
Aug 20, 2019
Member
addaleax
left a comment
There was a problem hiding this comment.
LGTM but I’d also really prefer to have a test for this.
jasnell
approved these changes
Aug 20, 2019
Member
|
I added tests. PTAL. |
Member
|
I've also added documentation. |
Collaborator
Contributor
Author
|
Thanks a lot @Trott I tried adding tests for this but the |
cjihrig
approved these changes
Aug 22, 2019
trivikr
approved these changes
Aug 22, 2019
Collaborator
Member
|
Landed in ceace1f...47ff44e |
Merged
BridgeAR
added a commit
that referenced
this pull request
Sep 3, 2019
Notable changes:
* deps:
* Update npm to 6.10.3 (isaacs)
#29023
* fs:
* Add recursive option to rmdir() (cjihrig)
#29168
* Allow passing true to emitClose option (Giorgos Ntemiris)
#29212
* Add \*timeNs properties to BigInt Stats objects (Joyee Cheung)
#21387
* net:
* Allow reading data into a static buffer (Brian White)
#25436
PR-URL: #29429
BridgeAR
added a commit
that referenced
this pull request
Sep 4, 2019
Notable changes:
* deps:
* Update npm to 6.10.3 (isaacs)
#29023
* fs:
* Add recursive option to rmdir() (cjihrig)
#29168
* Allow passing true to emitClose option (Giorgos Ntemiris)
#29212
* Add \*timeNs properties to BigInt Stats objects (Joyee Cheung)
#21387
* net:
* Allow reading data into a static buffer (Brian White)
#25436
PR-URL: #29429
BridgeAR
added a commit
that referenced
this pull request
Sep 4, 2019
Notable changes:
* deps:
* Update npm to 6.10.3 (isaacs)
#29023
* fs:
* Add recursive option to rmdir() (cjihrig)
#29168
* Allow passing true to emitClose option (Giorgos Ntemiris)
#29212
* Add \*timeNs properties to BigInt Stats objects (Joyee Cheung)
#21387
* net:
* Allow reading data into a static buffer (Brian White)
#25436
PR-URL: #29429
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow passing true for emitClose option for fs streams.
Fixes: #29177
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes