andy.boot and GitHub
709b87e137
docs: Update README.md
2026-01-08 23:30:04 +00:00
andy.boot
3a16a6a234
version: increment version
2026-01-08 23:16:16 +00:00
andy.boot
2066b7fa86
Revert "build: Attempt to add deb musl build."
...
This reverts commit 37dd671e5e .
2026-01-08 23:03:10 +00:00
andy.boot
07be4261b9
build: Attempt to add deb musl build.
...
I have no idea if this will work
2026-01-08 20:28:52 +00:00
andy.boot
d26971f869
Fix: windows build missed in nu_ansi_term upgrade
2026-01-08 20:14:56 +00:00
andy.boot
28018bc8c2
deps: update dependencies
2026-01-08 20:14:56 +00:00
andy.boot
37dd671e5e
build: Attempt to add deb musl build.
...
I have no idea if this will work
2026-01-08 20:03:42 +00:00
andy.boot and GitHub
6c20fae3e8
docs: Update README.md
...
typos
2026-01-07 20:05:43 +00:00
andy.boot and GitHub
3ab81fcd2f
docs: Update README.md
2026-01-07 20:03:28 +00:00
andy.boot and GitHub
0703784cab
docs: Update README.md
2026-01-07 20:02:58 +00:00
andy.boot
f51bd0d6a3
docs: update image
...
better image
2026-01-07 20:00:55 +00:00
andy.boot and GitHub
514bdcdc74
docs: Update README.md
...
using a new image
2026-01-07 19:59:26 +00:00
andy.boot and GitHub
4b64585290
docs: Update README.md
2026-01-07 19:54:43 +00:00
andy.boot
10eba445c9
docs: update description of 'n'
...
Change sample image file
2026-01-07 19:51:47 +00:00
andy.boot
a0c0779849
tests: Update assert_cmd
...
Use new cargo_bin_cmd macro. Old way of building Commands is deprecated
2026-01-07 19:13:33 +00:00
andy.boot
62bf1e14de
deps: update libraries
2025-11-24 21:15:44 +00:00
andy.boot
de2d748a88
chore: Retire directories library
...
Only used in one place (less dependencies = good).
Also directories has been retired as a github project. Easier to replace
with std::env::home() which has all the functionality we need
2025-11-20 23:46:34 +00:00
andy.boot
67d23e80ff
style: fix clippy
2025-10-06 20:42:19 +01:00
andy.boot
968377eebd
deps: cargo update
2025-10-06 20:42:19 +01:00
andy.boot
4e83421da6
version: increment version
2025-07-31 22:33:44 +01:00
andy.boot
901bc3895a
feat: Return 1 if no dirs are found
...
A better error code
2025-07-31 22:33:44 +01:00
andy.boot
3cce61f854
tests: add test for d0
...
Test to stop bug in previous commit occuring
Also cargo clippy
2025-07-28 22:35:40 +01:00
andy.boot
76b9f32859
release: increment version
2025-07-06 09:46:33 +01:00
andy.boot and GitHub
17662e8ff1
refactor: ThreadPool use build not build_global ( #512 )
...
Dangerous: Change how threadpool initialized
2025-07-06 09:42:02 +01:00
andy.boot
9cc557cada
docs: update readme
...
Improve description of -f, by default this counts by inode,
Use -f -s to count files and include duplicate inodes.
2025-07-05 15:34:08 +01:00
andy.boot and GitHub
81722b695d
fix: dir_walker interrupted error ( #507 )
...
* fix: dir_walker interrupted error
Ignore and continue if we get many interrupted errors instead of
panicing on 3.
This is from user feedback who reported occasional panics from too many
interrupted errors
https://github.com/bootandy/dust/issues/495#issuecomment-3026673312
* Revert "fix: dir_walker interrupted error"
This reverts commit 84fa0ea9a4 .
* fix: interrupted error, set limit to 999 instead.
2025-07-05 10:01:10 +01:00
andy.boot and GitHub
51dc167345
deps: cargo update ( #510 )
...
* hack
* Revert "hack"
This reverts commit d51c5b890439ec5ea46a10454801f9ca3593afca.
* deps: upgrade
2025-07-05 09:42:26 +01:00
andy.boot
9b5f6d6c5a
style: fix clippy
2025-07-02 18:53:24 +01:00
andy.boot
74ffd78901
refactor: pull out more methods, remove unused Option
2025-06-06 20:44:00 +01:00
andy.boot
9b2dc4655d
refactor: extract function
2025-06-04 20:57:57 +01:00
andy.boot
29441eda19
version: increment version
2025-06-04 20:07:23 +01:00
andy.boot
e6f90362a7
fix: bug: Remove bad error handling
...
This may be causing dust to lock up as we were accidentally creating a
second editable_error causing threads to lock.
https://github.com/bootandy/dust/issues/495
2025-06-04 19:55:50 +01:00
andy.boot
6a14d7e8b3
style: Fix clippy
...
New clippy has new standards.
Clean up get_metadata by removing unused return
2025-04-20 19:55:36 +01:00
andy.boot and GitHub
646cdd976d
release: increment version ( #485 )
2025-04-01 23:19:59 +01:00
andy.boot and GitHub
9a49221ac1
fix: status mesages go to stderr not stdout ( #483 )
...
Progress spinner and status line are written to stderr
instead of stdout.
No longer any need to detect if stdout is being redirected.
2025-04-01 23:19:36 +01:00
1b4116e39d
fix: all arguments now use '-' instead of '_' ( #484 )
...
* cli: unify long arguments (dashes instead of underscores)
* completions: autoregen completions
---------
Co-authored-by: Pavel Kulyov <kulyov.pavel@gmail.com >
2025-04-01 23:18:49 +01:00
andy.boot and GitHub
dd799706fb
deps: cargo update ( #474 )
...
* deps: cargo update
* deps: Update edition 2024
and run cargo update
2025-03-11 00:38:38 +00:00
andy.boot
d876cc28a7
release: Increment version
2025-02-27 22:08:38 +00:00
andy.boot
137e366eca
feat: Handle duplicate dir names better
...
If we run `dust /usr/*/Trash`
We see several 'Trash' directories in the output but do not know which
user they belong to.
This fix means if we see duplicate names in a directory we will display
the parent directory name as well
2025-02-20 22:08:06 +00:00
andy.boot
a962b80eec
deps: cargo update
2025-02-06 00:30:39 +00:00
andy.boot
01c0aaeade
feat: New --collapse flag
...
--collapse will keep that directory collapsed and will not expand it.
2025-01-27 22:00:08 +00:00
andy.boot
6cbd736e11
fix: Bars in --skip-total flag
...
Before we calculated the % by taking the longest bar. If you use
--skip-total the longest bar is not the total. We need to sum up all the
children of root to work out what the largest size is.
2025-01-26 11:22:37 +00:00
andy.boot
8e087e09da
fix: Handle Interrupted Error
...
Rust may throw Interrupted errors while scanning filesystem. These may
be retried:
https://doc.rust-lang.org/std/io/enum.ErrorKind.html#variant.Interrupted
2025-01-26 11:22:04 +00:00
andy.boot
9ba0b6d1d0
feat: Support -o flag for JSON output
...
requested in: https://github.com/bootandy/dust/issues/450
2025-01-17 20:48:56 +00:00
andy.boot
775d841840
style: clippy
2025-01-15 21:37:29 +00:00
andy.boot and GitHub
b63608604a
docs: Update README.md
2024-09-03 21:57:36 +01:00
andy.boot
b24fab720d
deps: cargo update
2024-09-03 21:54:20 +01:00
andy.boot and GitHub
38c4d23732
docs: Update README.md
...
include snap
2024-08-21 18:53:55 +01:00
andy.boot
dbd18f90e7
docs: update release procedure
...
Previously I accidentally tagged a release before building it leading
to an out of date Cargo.lock file.
2024-07-17 19:35:44 +01:00
andy.boot
dad88ad660
version: increment version
2024-07-17 19:35:44 +01:00
andy.boot
00a7c410a0
ci: fix warning in windows build
2024-07-17 19:35:44 +01:00
andy.boot
1ab0b2f531
refactor: rename variable
2024-07-17 19:35:44 +01:00
andy.boot
c09073151d
fix: perf issues with v1.1.0
...
Bring performance back
2024-07-17 19:16:46 +01:00
andy.boot
b4a517a096
version: update version
...
Also update docs, so I don't partially update a version number again
2024-07-16 22:48:27 +01:00
andy.boot
e654d30f9d
version: increment version
2024-07-16 22:05:17 +01:00
andy.boot
08b9c756ee
fix: total_ordering of sort_by_inode
...
Before sort_by_inode could result in unstable ordering. This change
ensures we will always have a reliable total ordering
2024-06-30 21:57:58 +01:00
andy.boot
b7176cf887
tests: Cleanup test_exact_ouput
2024-06-24 23:36:09 +01:00
andy.boot
4f6255971b
refactor: cleanup -j / --output-json flag
...
Stop -j writing to a file, print to stdout instead.
2024-06-19 21:39:09 +01:00
andy.boot
cab250aa0e
tests: Fix test broken in prev commit
2024-06-18 23:43:58 +01:00
andy.boot
e78690e4f5
chore: Cleanup threads commit
2024-05-06 20:26:02 +01:00
andy.boot
5b87260467
feat: Adding threads flag
...
Thanks: Dj-Codeman
2024-05-06 20:26:02 +01:00
andy.boot
a3dcab9454
fix: si detection - single digits are binary
2024-05-01 20:42:04 +01:00
andy.boot
658b11d0f8
fix: bug: Si detection was backwards.
...
kB - means kilobyte 10**3
KiB - means kibibyte 1024 / 2**10
https://en.wikipedia.org/wiki/Byte#Multiple-byte_units
2024-05-01 20:42:04 +01:00
andy.boot
b86e5c8c88
version: increment version
2024-03-25 22:47:03 +00:00
andy.boot
25c016f98a
cargo update
2024-03-25 22:01:08 +00:00
andy.boot
69c4c63357
fix: windows clippy
2024-03-25 22:01:08 +00:00
andy.boot and GitHub
7c75c1b0a9
Update README.md
...
https://github.com/bootandy/dust/issues/380
2024-03-25 21:38:12 +00:00
andy.boot
b54a215805
feat: Listen for ctrl-c
...
before ctrl-c would not cancel a running job.
2024-03-25 21:33:40 +00:00
andy.boot
a8bf76cb22
refactor: minimum-size & output-format
...
share code for handling kb/kib/mb/mib logic
2024-03-14 20:30:03 +00:00
andy.boot
4df4eeaa38
refactor: minimum-size
...
Change so it ignores the 'si' flag of output. But allow it to work with
kib/kb/mib/mb etc
2024-03-14 20:30:03 +00:00
andy.boot
ebb3b8cceb
refactor: merge --si and --display-kb
...
add new option: --output-format this controls how the output is
summarised and takes:
nothing = default behaviour
si = SI units (same as old --si flag)
b = bytes
kb = kb
kib = si kb
mb = mb
mib = si mb
....etc
2024-03-14 20:30:03 +00:00
andy.boot
4a2778b6ea
dependency: cargo update
2024-02-21 23:42:30 +00:00
andy.boot
7ee744207b
tests: fix test test_apparent_size
...
my 'many' line is: 4.0K ┌─┴ many │ the characters 4.0K are 4 chars.
photosheep's space for 'many' is '44B' which is 3 chars and so my system
needs 1 more char. Hence there is one more space character padding
floating round.
2024-01-29 22:41:42 +00:00
andy.boot
96068518f6
tests: Print to stderr when test fails
2024-01-29 22:41:42 +00:00
andy.boot
10168e0a47
cargo update
2024-01-29 22:41:42 +00:00
andy.boot
6768df9a7b
Increment version
2024-01-09 23:16:16 +00:00
andy.boot
e80892a9e7
feat: better error messages
...
Provide "No such file or directory" error if file is not found.
Provide "Unknown Error" if other error found
Should reduce confusion from the generic other error
2024-01-09 23:02:01 +00:00
andy.boot
cd53fc7494
feat: new param: ignore-all-in-file
...
Add new cmd line param to ignore all files or directories listed in this
file
2024-01-03 22:24:23 +00:00
andy.boot
e8c7990a17
feat: Custom stack size
...
If a user reports a crash from stacksize - we can try different stack
memory sizes to try and figure out the cause.
Do not try and initialise rayon on 32 bit builds
Fix rayon initialisation, may not have been called before due to badly
formed closure
2024-01-03 21:46:05 +00:00
andy.boot
c8b61d2f46
dependency: upgrade to clap 4
2023-12-11 23:07:54 +00:00
andy.boot
6e0505bfd7
feat: Reverse direction of bars
...
Add bars on right option
Add tests
2023-11-23 22:34:24 +00:00
andy.boot and GitHub
29085686e1
docs: update README.md
...
Add note about config file.
Pre-emptively include the new --bars-on-right flag.
2023-11-21 22:03:00 +00:00
andy.boot
8b1632dde8
docs: Fix filecount docs
...
We count files not files + folders
2023-11-21 21:24:43 +00:00
andy.boot and GitHub
f3275cd59c
README.md: Add link on build button
2023-11-09 23:31:37 +00:00
andy.boot and GitHub
939ed89ebb
typo: README.md
2023-11-09 23:27:42 +00:00
andy.boot and GitHub
a58e5f48f6
fix: README.md
...
Fix link to CI build.
2023-11-09 23:27:23 +00:00
andy.boot
3f9014d8c7
feat: No progress bars if stdout redirected
...
Progress bars pollute the output if it has been redirected to a file.
If stdout is redirected do not print progress bars
2023-11-09 23:23:05 +00:00
andy.boot
7c54d41ace
dependency: remove atty
...
Read input from clap
2023-11-09 23:23:05 +00:00
andy.boot and GitHub
2fa14ca19c
cargo update: update dependencies ( #341 )
2023-11-06 23:21:13 +00:00
andy.boot and GitHub
658f8d2e2b
ci: Add musl arm build
...
ci: Add musl arm build
2023-05-07 11:50:49 +01:00
andy.boot
2c23336794
Increment version
...
Request for security fix
https://github.com/bootandy/dust/issues/324
2023-05-05 20:40:52 +01:00
andy.boot
a4ae013459
cargo update: update dependencies
2023-05-05 20:40:52 +01:00
andy.boot
bdfd3c01a5
cargo update: update dependencies
2023-03-14 20:59:31 +00:00
andy.boot
2fe91806c7
Increment version
2023-03-14 08:18:23 +00:00
andy.boot
514bb2799c
Fix: some panics are occuring when creating rayon
...
Wrap and ignore these panics.
I can't reproduce this problem but I'm curious to know if this fixes it
2023-03-14 08:15:19 +00:00
andy.boot
7d13fe972c
refactor: DisplayData
2023-02-04 11:20:50 +00:00
andy.boot
5a3e15d0ce
refactor: simplify filter.rs
2023-02-04 11:20:50 +00:00
andy.boot and GitHub
6db013a601
Update README.md
...
more parameters
2023-01-29 10:46:39 +00:00
andy.boot
49a21b1121
Increment version
2023-01-29 10:24:36 +00:00
andy.boot
7efdf63fbc
fix: Stop progress indicator crashing into stderr
2023-01-29 10:24:36 +00:00