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

🎨 display static file size to mb kb gb tb pb eb #709

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

gakaki
Copy link
Contributor

@gakaki gakaki commented Mar 1, 2024

add static dir file size view to mb gb
1000 base not 1024 mac unix use 1000 windows use 1024
98595176 -> 98.5 MB
1 KB
999 bytes
1 MB
999.9 KB
1 GB
999.9 MB
1 TB
999.9 GB
1 PB
999.9 TB

@chrislearn chrislearn merged commit 0044d2f into salvo-rs:main Mar 1, 2024
7 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