gitbutler/crates/gitbutler-core
Sebastian Thiel 568d35fa90
refactor
- assure that `repository` can't be misused in `hunks_by_filepath()`.
- Use more obvious enumeration to describe and match on lines
- make clear that diff_lines can be a hash
- avoid multiple hashmasps if one would do
- `Hunk::hash_diff` now uses lines with terminator to be close to being a true content hash. This was probably intended by the code originally.
2024-04-21 11:35:26 +02:00
..
src refactor 2024-04-21 11:35:26 +02:00
tests refactor 2024-04-21 11:35:26 +02:00
Cargo.toml Strongly type the hunk-hash to avoid String, but remain compatible. 2024-04-21 11:35:25 +02:00