docs: function addDiffIndicator(str, added) {
      const modifier = added ? '+' : '-';
      if (str[0] === ' ') {
          return modifier + str.slice(1);
      } else {
          return `${modifier}${str}`;
      }
  }