Skip to content

Releases: sharkdp/diskus

v0.9.0

06 Dec 23:56

Choose a tag to compare

Changes

  • Fixed directory counting to match du behavior:
    • Disk usage mode: directories are included (matches du -s)
    • Apparent size mode: directories are excluded (matches du -sb)

Features

  • Added --directories option with values auto/included/excluded to control whether directory sizes are counted

Library

  • Breaking: Complete redesign of the API
    • Renamed Walk to DiskUsage
    • Renamed FilesizeType to CountType
    • Changed to a builder pattern: DiskUsage::new(&paths).apparent_size().count()
    • count() now returns a DiskUsageResult struct instead of a tuple
    • new() now accepts impl IntoIterator<Item = P> where P: AsRef<Path>
  • Default number of workers (3× CPU cores) is now set in the library, not the CLI

v0.8.0

27 Dec 19:12

Choose a tag to compare

What's Changed

  • Updated dependencies
  • ci: Use GITHUB_OUTPUT envvar instead of set-output command by @arunsathiya in #52

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

14 Nov 08:59

Choose a tag to compare

Changes

  • Updated dependencies, see #45

v0.6.0

21 Sep 13:23

Choose a tag to compare

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

  • diskus is 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).
  • diskus changes 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-size option which can be used to switch from "disk usage" to "apparent size" (not available on Windows)

Other

  • diskus is now in the official Arch repositories, see #24 (@polyzen)
  • diskus is now available on NixOS, see #26 (@fuerbringer)
  • diskus is now available on Homebrew and MacPorts, see #33 (@heimskr)
  • Added a man page

v0.5.0

25 Nov 11:24

Choose a tag to compare

v0.4.0

04 Nov 21:15

Choose a tag to compare

  • More performance improvements by using a custom parallel directory-walker, see #15

v0.3.1

02 Nov 17:21

Choose a tag to compare

Bump version

v0.3.0

02 Nov 16:49

Choose a tag to compare

  • Renamed the project to diskus.

v0.2.0

01 Nov 22:30

Choose a tag to compare

  • Fine-tuned number of threads (makes is even faster)

v0.1.0

01 Nov 18:23

Choose a tag to compare

Initial release.