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

File Size Not Always Correctly Reported #943

Open
BenGalewsky opened this issue Dec 18, 2024 · 0 comments · May be fixed by #944
Open

File Size Not Always Correctly Reported #943

BenGalewsky opened this issue Dec 18, 2024 · 0 comments · May be fixed by #944
Assignees

Comments

@BenGalewsky
Copy link
Contributor

Problem

The total_bytes property of the FileCompleteRecord comes out of the stats reported by the generated code. This is not always provided, and it's hard to test and fix each of these.

Approach

The most correct way to report the size of the file is to just ask the operating system. Use the python Path,getsize call to get the correct information to report to the app.

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 a pull request may close this issue.

1 participant