text: public override string ToString(){StringBuilder buf = new StringBuilder();buf.Append("DiffEntry[");buf.Append(changeType);buf.Append(" ");switch (changeType){case DiffEntry.ChangeType.ADD:{buf.Append(newPath);break;}case DiffEntry.ChangeType.COPY:{buf.Append(oldPath + "->" + newPath);break;}case DiffEntry.ChangeType.DELETE:{buf.Append(oldPath);break;}case DiffEntry.ChangeType.MODIFY:{buf.Append(oldPath);break;}case DiffEntry.ChangeType.RENAME:{buf.Append(oldPath + "->" + newPath);break;}}buf.Append("]");return buf.ToString();}