Uh oh!
There was an error while loading. Please reload this page.
doc: Provide bad/better examples for access() and exists() - #7832
doc: Provide bad/better examples for access() and exists()#7832dfabulich wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
As opposed to saying should not be used, perhaps something a bit softer...
Using `fs.acess()` to check for the existence of a file before calling `fs.open()`,
`fs.readFile()`, or `fs.writeFile()` is not recommended because doing so...
jasnell
commented
Aug 5, 2016
Thank you for this, left some comments! Sorry it has take so long for someone to take a look and get back to you. |
c3c11b3 to
ccec465Comparedfabulich
commented
Aug 9, 2016
@jasnell Thanks for your feedback. I've incorporated your comments in the latest draft. |
jasnell
commented
Aug 11, 2016
@dfabulich .. thank you! will be able to go through in detail again tomorrow :-) |
Fishrock123
commented
Aug 22, 2016
ping @jasnell |
jasnell
commented
Aug 22, 2016
Whoops, let this one slip off my radar. LGTM |
jasnell
commented
Aug 24, 2016
ping @nodejs/documentation |
There was a problem hiding this comment.
Maybe split the code blocks and put these pseudo-headings in bold just above them?
addaleax
commented
Aug 25, 2016
LGTM with a suggestion, thanks for putting these together! |
There was a problem hiding this comment.
Drop the else, we can unindent the next function call.
ccec465 to
80d6ec3Comparedfabulich
commented
Aug 31, 2016
Incorporated feedback from @addaleax and @thefourtheye |
jasnell
commented
Sep 1, 2016
LGTM! will get this landed! |
PR-URL: #7832 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
jasnell
commented
Sep 1, 2016
Landed in 143d38c. Thank you! |
PR-URL: nodejs#7832 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #7832 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #7832 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
doc
Description of change