dua-cli
dua-cli copied to clipboard
Feature: show free space on current mount point
Top and bottom status line shows the number of files and total size, additionally would be nice to see a free space on the currently opened path in GiB and percentage.
The difficulty here seems to be getting the mount points, as I know no crate that would reliably do that on multiple platforms. To me it's fine to only implement such a thing on platforms where this is straightforward to implement.
I know the trash-rs
crate has some code for that as well.