mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-12-23 00:38:17 +00:00
Add equality function for Variant
This commit is contained in:
parent
f9e76d60d6
commit
91c3acc85e
1 changed files with 1 additions and 0 deletions
|
@ -308,6 +308,7 @@ end
|
|||
|
||||
edits(v::Variant) = v.edits
|
||||
reference(v::Variant) = v.ref
|
||||
Base.:(==)(x::Variant, y::Variant) = x.ref == y.ref && x.edits == y.edits
|
||||
|
||||
function lendiff(edit::Edit)
|
||||
x = edit.x
|
||||
|
|
Loading…
Reference in a new issue