fs.fstatSync(fd) Synchronous fstat(2). Returns an instance of fs.Stats.
Class: fs.FSWatcher Objects returned from fs.watch() are of this type.
fs.fstat(fd, callback) Asynchronous fstat(2). The callback gets two arguments (err, stats) where stats is a fs.Stats object. fstat() is identical to stat(), except that the file to be stat-ed is specified by the file descriptor fd.
fs.fdatasync(fd, callback) Asynchronous fdatasync(2). No arguments other than a possible exception are given to the completion callback.
fs.fchown(fd, uid, gid, callback) Asynchronous fchown(2). No arguments other than a possible exception are given to the completion callback.
fs.fchmodSync(fd, mode) Synchronous fchmod(2). Returns undefined.
fs.fchownSync(fd, uid, gid) Synchronous fchown(2). Returns undefined.
fs.fdatasyncSync(fd) Synchronous fdatasync(2). Returns undefined.
fs.fchmod(fd, mode, callback) Asynchronous fchmod(2). No arguments other than a possible exception are given to the completion callback.
fs.existsSync(path) Stability: 0 - Deprecated: Use fs.statSync() or fs.accessSync() instead. Synchronous version of fs.exists(). Returns true if the file exists, false otherwise.
Page 50 of 81