shortStats method

String shortStats()

Implementation

String shortStats() {
  if (filesChanged + additions + deletions == 0) {
    return 'no changes';
  } else {
    return 'files changed: $filesChanged, additions(+): $additions, deletions(-): $deletions';
  }
}