Releases: sharkdp/diskus
Releases · sharkdp/diskus
v0.9.0
Changes
- Fixed directory counting to match
dubehavior:- Disk usage mode: directories are included (matches
du -s) - Apparent size mode: directories are excluded (matches
du -sb)
- Disk usage mode: directories are included (matches
Features
- Added
--directoriesoption with valuesauto/included/excludedto control whether directory sizes are counted
Library
- Breaking: Complete redesign of the API
- Renamed
WalktoDiskUsage - Renamed
FilesizeTypetoCountType - Changed to a builder pattern:
DiskUsage::new(&paths).apparent_size().count() count()now returns aDiskUsageResultstruct instead of a tuplenew()now acceptsimpl IntoIterator<Item = P>whereP: AsRef<Path>
- Renamed
- Default number of workers (3× CPU cores) is now set in the library, not the CLI
v0.8.0
What's Changed
- Updated dependencies
- ci: Use GITHUB_OUTPUT envvar instead of set-output command by @arunsathiya in #52
New Contributors
- @arunsathiya made their first contribution in #52
Full Changelog: v0.7.0...v0.8.0
v0.7.0
v0.6.0
Changes
There is an important change in default behavior: diskus will now report "disk usage" instead of "apparent file size", in analogy to what du -sh does.
At the same time however, we introduce a new -b/--apparent-size option which can be used to switch back to apparent file size (in analogy to what du -sbh does).
see #25
Features
diskusis now available for Windows, see #32 (@fawick)- Error messages are now hidden by default and can be re-enabled via
--verbose, see #34 (@wngr) - Added a new
--size-format <type>option which can be used to switch from decimal to binary exponents (MiB instead of MB). diskuschanges its output format when the output is piped to a file or to another program. It will simply print the number of bytes, see #35- Added a new
-b/--apparent-sizeoption which can be used to switch from "disk usage" to "apparent size" (not available on Windows)