Conversation
doc/api/fs.md
Outdated
There was a problem hiding this comment.
Should this be completely -> complete instead?
| * Returns: {boolean} | ||
|
|
||
| Returns `true` if the `fs.Stats` object describes a character device. | ||
| ### stats.isDirectory() |
There was a problem hiding this comment.
Nit: can we add a new line before this for consistency?
| * Returns: {boolean} | ||
|
|
||
| Returns `true` if the `fs.Stats` object describes a file system directory. | ||
| ### stats.isFIFO() |
doc/api/fs.md
Outdated
There was a problem hiding this comment.
this files -> the file or this file's
doc/api/fs.md
Outdated
There was a problem hiding this comment.
this files -> the file or this file's
doc/api/fs.md
Outdated
There was a problem hiding this comment.
A nit: I am not sure, but are these two use a bit monotonous?
doc/api/fs.md
Outdated
There was a problem hiding this comment.
interpretted -> interpreted ?
doc/api/fs.md
Outdated
doc/api/fs.md
Outdated
| object. | ||
|
|
||
| The object itself emits these events: | ||
| All `fs.FSWatcher` objects are [`EventEmitter`][]'s that will emit a `'change'` |
doc/api/fs.md
Outdated
| Returns `true` if the `fs.Stats` object describes a symbolic link. | ||
|
|
||
| *Note*: This method is only valid when using [`fs.lstat()`][] | ||
|
|
There was a problem hiding this comment.
A nit: delete the extra new line?
doc/api/fs.md
Outdated
There was a problem hiding this comment.
fs.open -> fs.open() ?
fs.writeFile -> fs.writeFile() ?
doc/api/fs.md
Outdated
There was a problem hiding this comment.
fs.ftruncate -> fs.ftruncate() ?
doc/api/fs.md
Outdated
There was a problem hiding this comment.
Erroneous single quote instead of backtick?
PR-URL: #17692 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
|
Landed in 400e73a |
PR-URL: #17692 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
PR-URL: #17692 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
|
Are these changes applicable to 6.x or 8.x? |
Some improvements
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
fs doc