function getStatus(file){
    var status;

    if (file.isNew()) status = 'new';
    else if (file.isModified()) status = 'modified';
    else if (file.isDeleted()) status = 'deleted';
    else if (file.isTypeChange()) status = 'typechange';
    else if (file.isRenamed()) status = 'renamed';
    else if (file.isIgnored()) status = 'ignored';

    debug('%s %s', status, file.path());
    return {
        'path': file.path(),
        'status': status
    };
}
function getStatus(file){
    var status;

    if (file.isNew()) status = 'new';
    else if (file.isModified()) status = 'modified';
    else if (file.isDeleted()) status = 'deleted';
    else if (file.isTypeChange()) status = 'typechange';
    else if (file.isRenamed()) status = 'renamed';
    else if (file.isIgnored()) status = 'ignored';

    debug('%s %s', status, file.path());
    return {
        'path': file.path(),
        'status': status
    };
}
function getStatus ( file ) { var status ; if ( file . isNew ( ) ) status = 'new' ; else if ( file . isModified ( ) ) status = 'modified' ; else if ( file . isDeleted ( ) ) status = 'deleted' ; else if ( file . isTypeChange ( ) ) status = 'typechange' ; else if ( file . isRenamed ( ) ) status = 'renamed' ; else if ( file . isIgnored ( ) ) status = 'ignored' ; debug ( '%s %s' , status , file . path ( ) ) ; return { 'path' : file . path ( ) , 'status' : status } ; }
{ status: [Function], statusBit: [Function], headToIndex: [Function], indexToWorkdir: [Function], path: [Function], isNew: [Function], isModified: [Function], isDeleted: [Function], isTypeChange: [Function], isRenamed: [Function], isIgnored: [Function], inWorkingTree: [Function], inIndex: [Function] }
{ status : [ Function ] statusBit : [ Function ] headToIndex : [ Function ] indexToWorkdir : [ Function ] path : [ Function ] isNew : [ Function ] isModified : [ Function ] isDeleted : [ Function ] isTypeChange : [ Function ] isRenamed : [ Function ] isIgnored : [ Function ] inWorkingTree : [ Function ] inIndex : [ Function ] }