Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

abemedia
Copy link
Collaborator

@abemedia abemedia commented Sep 3, 2023

Currently (*Package).Size() and (*Package).ArchiveSize() don't work if the size is larger than 4GB as RPM has separate tags for 64bit integers (LONGSIZE & LONGARCHIVESIZE).

This PR attempts to get the long sizes and falls back to the 32bit sizes if they aren't found.

@cavaliercoder cavaliercoder merged commit f8295c3 into cavaliergopher:main Nov 26, 2023
@abemedia abemedia deleted the fix/long-sizes branch November 27, 2023 14:45
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