Commit Graph

59 Commits

Author SHA1 Message Date
andy.boot 0c5b08e1d2 Change package name to du-dust
The binary is still called dust. Sadly dust was taken on crates.io.
This change should allow us to send this crate to crates.io
2018-04-18 13:40:52 +01:00
bootandy 74b9178017 Refactor code 2018-04-07 17:14:06 +01:00
bootandy 120b4e16e7 Squash Node and DirEnt objects into single object 2018-04-03 17:05:28 +01:00
bootandy ecf6c8f0e5 Refactor: Pull display code out to different file 2018-03-22 17:21:51 -04:00
bootandy 4944d517f4 Apparent size mode: handle hard links.
If we are viewing apparent size then each hard linked file should be
counted. Not just the first one.
2018-03-22 14:36:17 -04:00
bootandy cce656ab4c rm dead code 2018-03-22 14:30:30 -04:00
bootandy 03a517a310 block size is always 512 on rust 2018-03-22 14:29:59 -04:00
Joe Ardent aa3f411974 fixes blocksize error in get_blocksize().
Under Linux, MetadataExt::st_blocks() returns then number of 512B
blocks.

https://doc.rust-lang.org/1.23.0/std/os/linux/fs/trait.MetadataExt.html#tymethod.st_blocks
2018-03-22 00:34:14 -07:00
Joe Ardent eb69ad19a0 break platform cfg code into utils submodule 2018-03-22 00:00:21 -07:00