fix: diff result table show added but overview show none

This commit is contained in:
vran
2022-05-22 14:40:13 +08:00
parent c5af11f68f
commit a00fd2278c
2 changed files with 18 additions and 2 deletions

View File

@@ -6,4 +6,12 @@ public enum DiffType {
public static boolean isModified(DiffType type) {
return type != null && type != NONE;
}
public boolean isAdded() {
return this == ADDED;
}
public boolean isNone() {
return this == NONE;
}
}