Browse Source

DOC note stats.isSymbolicLink() is only valid with fs.lstat().

ref: <http://github.com/ry/node/issues#issue/153>
v0.7.4-release
rentzsch 15 years ago
committed by Ryan Dahl
parent
commit
55d7352189
  1. 2
      doc/api.markdown

2
doc/api.markdown

@ -1496,7 +1496,7 @@ Objects returned from `fs.stat()` and `fs.lstat()` are of this type.
- `stats.isDirectory()` - `stats.isDirectory()`
- `stats.isBlockDevice()` - `stats.isBlockDevice()`
- `stats.isCharacterDevice()` - `stats.isCharacterDevice()`
- `stats.isSymbolicLink()` - `stats.isSymbolicLink()` (only valid with `fs.lstat()`)
- `stats.isFIFO()` - `stats.isFIFO()`
- `stats.isSocket()` - `stats.isSocket()`

Loading…
Cancel
Save