Almost done diff page

This commit is contained in:
Unknown committed 2014-03-26 16:41:16 -04:00
1 parent 4b9eef50c9
commit dd6246877d
9 files changed
+83 -210

No files matched your search

+12
View File
@@ -552,3 +552,15 @@ func DiffTypeToStr(diffType int) string {
return "unknown"
}
}
func DiffLineTypeToStr(diffType int) string {
switch diffType {
case 2:
return "add"
case 3:
return "del"
case 4:
return "tag"
}
return "same"
}