whole_func_string: 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
      };
  }
func_code_string: 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
      };
  }
func_documentation_string: { 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] }