gitbutler/crates/gitbutler-core
Sebastian Thiel 04bcf3b8b2
adjust Hunk::hash_diff() to produce unique hashes based on input.
The input is variable and maybe empty, maybe a diff header followed
by diff-lines, and it could be an SHA1 of a binary file, which now is
hashed like any other content.
2024-04-21 11:35:26 +02:00
..
src adjust Hunk::hash_diff() to produce unique hashes based on input. 2024-04-21 11:35:26 +02:00
tests adjust Hunk::hash_diff() to produce unique hashes based on input. 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