toGnuString method
Display a human-readable version of this Diff. Returns a text version.
Implementation
String toGnuString() {
String prettyText = this.text.replaceAll('\n', '\u00b6');
return 'Diff(${this.operation},"$prettyText")';
}
Display a human-readable version of this Diff. Returns a text version.
String toGnuString() {
String prettyText = this.text.replaceAll('\n', '\u00b6');
return 'Diff(${this.operation},"$prettyText")';
}