doc: add note for platform specific flags fs.open()#6136
doc: add note for platform specific flags fs.open()#6136eljefedelrodeodeljefe wants to merge 1 commit intonodejs:masterfrom eljefedelrodeodeljefe:doc/clarify-fs-open
fs.open()#6136Conversation
There was a problem hiding this comment.
There's an extra ' in the flag on this line.
There was a problem hiding this comment.
Thx. Fixed
|
Linux gives |
|
Amended Linux. Change wording bit around there. Thx. |
There was a problem hiding this comment.
Might wanna add OS X and Linux
|
LGTM with nits. |
|
Done. |
|
LGTM By the way - I like the work you've been doing with covering all the caveats @eljefedelrodeodeljefe but I'm worried it might confuse new users by blasting them with a lot of information not all of them care about. I wonder if we should collapse notes by default or only show the first line or something like that. I'm CCing @nodejs/documentation for discussion about that but feel free to move the discussion to the docs repo if it starts derailing things here. |
|
That's a very good idea. I think Chris is calling for a meeting soon. Let's put this on the agenda then. We had similar things I would call "added dimension" like the es6/es5 switch. Thx |
|
LGTM |
I'd rather see more information than very terse descriptions. But I think it should be terse (one sentence) with links if the problem is not node.js itself. Maybe we could put those extra information in a collapsible section. |
|
I like the direction it takes, @stevemao. @benjamingr care for landing? |
|
It may be a worthwhile exercise to have a doc/topics page that discusses the platform specific variances that exist in the |
|
This will need a rebase since the commit renaming the files landed. |
closes #3643 E.g. fs.open('<directory>', 'a+', console.log)
|
rebased |
|
Awesome, thank you. One last round of review from @nodejs/documentation? |
|
Still LGTM |
Note describing platform specific differences in fs.open
E.g. fs.open('<directory>', 'a+', console.log)
Fixes: #3643
PR-URL: #6136
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
|
Landed in ae991e7 |
Note describing platform specific differences in fs.open
E.g. fs.open('<directory>', 'a+', console.log)
Fixes: nodejs#3643
PR-URL: nodejs#6136
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Note describing platform specific differences in fs.open
E.g. fs.open('<directory>', 'a+', console.log)
Fixes: #3643
PR-URL: #6136
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
|
@eljefedelrodeodeljefe does this apply to v4.x? |
Checklist
Affected core subsystem(s)
docDescription of change
add note for platform specific flags
fs.open()closes #3643
E.g. fs.open('', 'a+', console.log)