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

Calculate db size using fs::fs_bytes() #40

Merged
merged 1 commit into from
Aug 29, 2022
Merged

Conversation

joelnitta
Copy link
Contributor

@joelnitta joelnitta commented Aug 29, 2022

Fixes #32

Uses fs::fs_bytes() to calculate file size of download directory and duckdb database. This not only fixes the '0 gb' message, but makes sure that a meaningful file size will be shown even when the total is < 1 gb.

@joelnitta joelnitta merged commit f8723c1 into main Aug 29, 2022
@joelnitta joelnitta deleted the joelnitta/issue32 branch August 29, 2022 01:00
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.

restez_status() shows zero GB in database even though it has data
1 participant