|
@ -376,7 +376,7 @@ exports.realpath = function(path, callback) { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
exports.fileReadStream = function(path, options) { |
|
|
exports.createReadStream = function(path, options) { |
|
|
return new FileReadStream(path, options); |
|
|
return new FileReadStream(path, options); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
@ -465,7 +465,7 @@ var FileReadStream = exports.FileReadStream = function(path, options) { |
|
|
}; |
|
|
}; |
|
|
FileReadStream.prototype.__proto__ = process.EventEmitter.prototype; |
|
|
FileReadStream.prototype.__proto__ = process.EventEmitter.prototype; |
|
|
|
|
|
|
|
|
exports.fileWriteStream = function(path, options) { |
|
|
exports.createWriteStream = function(path, options) { |
|
|
return new FileWriteStream(path, options); |
|
|
return new FileWriteStream(path, options); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|