Mark lendiff(::Edit) as private API

This commit is contained in:
Thomas A. Christensen II 2023-01-03 20:02:56 -06:00
parent e8457e4241
commit 2719c438f3

View file

@ -56,7 +56,7 @@ function BioGenerics.rightposition(e::Edit)
end end
end end
function lendiff(edit::Edit) function _lendiff(edit::Edit)
x = _mutation(edit) x = _mutation(edit)
# Each edit type has logic for its length, we just need to know what direction to go # Each edit type has logic for its length, we just need to know what direction to go
multiplier = x isa Substitution ? 0 : (x isa Deletion ? -1 : 1) multiplier = x isa Substitution ? 0 : (x isa Deletion ? -1 : 1)