fullPrint method
void
fullPrint()
Print a CommitDiff from Commit to FileLineDiff
Implementation
void fullPrint() {
printToConsole(
message: "Commit differences",
color: CliColor.yellow,
style: CliStyle.underline,
newLine: true,
);
printDiff();
printToConsole(
message: "File differences",
color: CliColor.yellow,
style: CliStyle.underline,
newLine: true,
);
for (var a in filesDiff) {
a.printDiff();
//Only show differences
for (var b in a.linesDiff.values.where((e) => e.diffType != DiffType.same)) {
b.printDiff();
}
}
}