feature(size) size.get -> size

This commit is contained in:
coderaiser 2014-11-19 08:21:16 -05:00
parent bbf8443b9c
commit 52142ed141
2 changed files with 3 additions and 3 deletions

View file

@ -34,11 +34,11 @@
switch (type) {
case 'size':
size.get(path, callback);
size(path, callback);
break;
case 'size raw':
size.get(path, { type: 'raw' }, callback);
size(path, { type: 'raw' }, callback);
break;
case 'time':

View file

@ -19,7 +19,7 @@
*/
stat = fs.lstat;
exports.get = function(dir, options, callback) {
module.exports = function(dir, options, callback) {
var type, stopOnError,
emitter = new EventEmitter(),
total = 0;