Added difference ignore button

This commit is contained in:
2018-03-09 14:48:00 +01:00
parent 1e63498fa3
commit cb9e277718
10 changed files with 84 additions and 18 deletions

View File

@ -2,8 +2,9 @@ package animediff
// CanonicalTitle describes differing titles.
type CanonicalTitle struct {
TitleA string
TitleB string
TitleA string
TitleB string
NumericHash uint64
}
// Type returns the diff type.
@ -25,3 +26,8 @@ func (diff *CanonicalTitle) DetailsA() string {
func (diff *CanonicalTitle) DetailsB() string {
return diff.TitleB
}
// Hash returns the hash for the suggested value (from anime B).
func (diff *CanonicalTitle) Hash() uint64 {
return diff.NumericHash
}