diff --git a/lib/methods.js b/lib/methods.js index e0d3363..1f8640e 100644 --- a/lib/methods.js +++ b/lib/methods.js @@ -110,6 +110,18 @@ module.exports = function (FQ) { this.execQueue(); }; + FQ.prototype.lstat = function(path, callback) { + + this.addToQueue(function(fs, cb) { + + fs.lstat(path, cb); + + }, callback) + + this.execQueue(); + }; + + /** * Asynchronous readdir * http://nodejs.org/docs/v0.10.15/api/fs.html#fs_fs_readdir_path_callback @@ -213,4 +225,4 @@ module.exports = function (FQ) { return writeStream; }; -}; \ No newline at end of file +};