Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove extra bytes when overriding a file with a smaller file in android #119

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

ghost
Copy link

@ghost ghost commented Sep 25, 2024

fix for #117.

When overiding a fille with a smaller file in Android the file size would remain the same. Eg. 250kb file overriden with 200kb file, the file would continue being 250kb. This fix makes sure that we truncate the file before we change the bytes.

Copy link
Owner

@vinceglb vinceglb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great ✅

@vinceglb vinceglb merged commit c5859a0 into vinceglb:main Sep 26, 2024
@ghost ghost mentioned this pull request Sep 26, 2024
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.

1 participant