Skip to main content

Module moves

Module moves 

Source

Structs§

Move
A changed row that is part of a block moved within the change.

Enums§

Direction
Which end of a move a row is.

Constants§

MIN_MOVED_LINES
The shortest run of lines treated as a move; shorter matches are mostly coincidence.

Functions§

detect
Finds blocks of at least MIN_MOVED_LINES removed lines that are added again elsewhere — in the same file or another — under the given layers.

Type Aliases§

Moves
Moved rows, keyed by (index into files, hunk, row).