Skip to content

Conversation

@pweaver
Copy link
Contributor

@pweaver pweaver commented Sep 15, 2025

Filehash is a u64. Most of the time it is 16 characters, but if the leading digit is a 0, it becomes 15 characters. e.g. 0x0fffffffffffffff -> fffffffffffffff instead of 0fffffffffffffff. This changes it to format with leading zeros. Which makes writing code to extracting the hashes more predictable.

Filehash is a u64. Most of the time it is 16 characters,
but if the leading digit is a 0, it becomes 15 characters.
e.g. 0x0fffffffffffffff -> fffffffffffffff instead of
0fffffffffffffff. This changes it to format with leading zeros.
Which makes writing code to extracting the hashes more predictible.
@ctron ctron enabled auto-merge September 17, 2025 07:44
@ctron ctron added this pull request to the merge queue Sep 17, 2025
Merged via the queue into trunk-rs:main with commit f1ee3d4 Sep 17, 2025
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants