Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-14 | Traverse children vs parent & fix parent node size after refresh | Piotr Wach | |
2024-01-07 | clippy | Piotr Wach | |
2024-01-07 | Clean-up init function | Piotr Wach | |
2024-01-07 | Move ByteFormat out of WalkOptions | Piotr Wach | |
2023-12-26 | Keep consistent language/punctuation/case throughout the app. | Piotr Wach | |
2023-05-05 | Simplify GUI refreshes by using a throttle | Sebastian Thiel | |
2023-05-05 | generalize the throttle implementation to allow usagein UI | Sebastian Thiel | |
2023-02-22 | traverse: don't recurse on cross-device filesystems | Thomas Orozco | |
Like it says in the title. Right now, if you pass `-x`, dua doesn't count files on other devices, but it still enumerates them. However, a good reason to use `-x` is if you have network mounts that are slow, so this fixes that. | |||
2022-12-13 | thanks clippy | Sebastian Thiel | |
2022-09-19 | refactor | Sebastian Thiel | |
2022-09-18 | refactor: colored path printing; fix size column format | Sergey A | |
2022-09-01 | dependencies: switch from colored to owo-colors | Sergey A | |
owo-colors is well-maintained, zero-allocation, zero-dependencies crate for terminal colors. Also it works on any type that implements Display trait, not just on strings. | |||
2022-05-12 | fix: broken or non-existing root path will still print the valid results. (#124) | Sebastian Thiel | |
Previously it would fail completely without printing anything. | |||
2022-03-19 | Improve aggregate progress reporting | Thomas Hurst | |
Previously, aggregate mode progress reports were handled by an infinitely-looping thread carrying a 64-bit atomic of the current count, which it would print periodically. This resulted in #99 - breaking on platforms without 64-bit atomics, for which a feature was added to disable it. It also implied a race condition, where the "Enumerating ..." message could be printed after results had been gathered but before dua exited. Additionally, part of the status message could be left on the display if the first line of a report was too short to cover it. This commit should resolve these: * The 64-bit atomic counter is replaced with an 8-bit AtomicBool * All printing is controlled from the main thread * The first line is cleared prior to printing a report The only notable drawback I see with this approach is that progress reporting can sometimes be delayed, since the display is only evaluated for update during periods the aggregation loop makes progress. The practical difference appears relatively minor. Since this should resolve #99, the aggregate-scan-progress feature is removed. | |||
2022-01-09 | fix: build on platforms without 64-bit atomics | cinerea0 | |
2021-08-19 | Format correctly | Ben Armstead | |
2021-08-19 | Remove unnecessary line | Ben Armstead | |
2021-08-05 | Add aggregate-scan-progress feature to help with #99 | Sebastian Thiel | |
2021-07-25 | upgrade open to v2 | Sebastian Thiel | |
2021-05-30 | Fix terrible bug causing an unnecessary wait in front of each invocation | Sebastian Thiel | |
2021-05-30 | Only fetch metadata for files for a speedup | Sebastian Thiel | |
2021-05-29 | Mildly optimize progress performance… | Sebastian Thiel | |
…maybe there is a lot of error in the measurements, but it's a bit faster with different settings for atomics. | |||
2021-05-29 | Only display progress on if stderr is a tty | Sebastian Thiel | |
2021-05-29 | Add simple progress to indicate something is happening on long `dua` runs | Sebastian Thiel | |
2021-03-23 | thanks clippy | Sebastian Thiel | |
2020-07-27 | refactor | Sebastian Thiel | |
2020-07-27 | src, aggregate: fix colors for aggregate mode | Maxim Zhukov | |
Use Cyan for folders in aggregate mode Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com> | |||
2020-07-22 | update to colored 2.0 | Sebastian Thiel | |
2020-07-07 | Fix color handling (causing the text to disappear); fix tty detection | Sebastian Thiel | |
Crossterm works differently from termion, I might say: more correct! | |||
2020-07-06 | Replace termion::color with colored | Sebastian Thiel | |
2020-07-06 | termcolor spends 1200 lines on handlings buffers, and it's not liking plain ↵ | Sebastian Thiel | |
io::Write Which means it doesn't like what's currently there. So let's go back to what can actually work: colored. | |||
2020-07-06 | for a moment I thought 'colored' could be used, but… | Sebastian Thiel | |
…it's really allocation heavy. Something simpler might be it, what about termcolor? | |||
2020-07-02 | Use 'anyhow' instead of 'failure' to simplify code and reduce bloat | Sebastian Thiel | |
2020-07-02 | Use u128 for byte sizes | Thomas Hurst | |
Per issue #58, u64 is insufficient for use with very large sparse files. Enormous file sizes are also a common filesystem error trope, either from disk corruption or software bugs, and they're also conceivable with virtual filesystems. Handle this as gracefully as can be reasonably expected using 128-bit integers, which should be sufficient for most uses. | |||
2020-05-04 | Add '-x' flag to not cross filesystems | Sebastian Thiel | |
Fixes #3 | |||
2020-03-29 | cleanup 'quick-hack' done in 2.3.9 - much better now | Sebastian Thiel | |
2020-03-27 | Truly don't follow symlinks unless they are the only top-level path.v2.3.9 | Sebastian Thiel | |
This is a brute-force hack which won't show them at all, there certainly is better ways if we would know if we expanded paths ourselves or not. | |||
2020-03-26 | Considerably speed up dua interactive by allowing to use all (logical) cores | Sebastian Thiel | |
2020-03-24 | Update to filesize v0.2 | Thomas Hurst | |
2020-03-16 | jwalk 0.5 has landed - now we don't follow symlinks during traversal! | Sebastian Thiel | |
2020-03-15 | Revert "Upgrade to jwalk 0.5; stop following symlinks during traversal" | Sebastian Thiel | |
This reverts commit 4990fa4202f2b687ee2476efe0a406fdfe23fd96. Performance regression - it only uses a single thread for most of the iteration. | |||
2020-03-15 | Upgrade to jwalk 0.5; stop following symlinks during traversalv2.3.4 | Sebastian Thiel | |
2020-02-22 | Rename 'count-links' to more descriptive 'count-hard-links' | Sebastian Thiel | |
2020-02-22 | cargo fmt | Sebastian Thiel | |
2020-02-22 | Add hardlink tracking, and an option to disable it | Thomas Hurst | |
2020-02-22 | Add support for real/apparent size | Thomas Hurst | |
2019-06-16 | error formatting suggestions | Jack O'Connor | |
We can avoid the `(s)` by inspecting the number. And using spaces instead of tabs makes the output more consistent in a terminal, no longer depending on the length of the preceding filename. | |||
2019-06-04 | Support for changing the percentage display | Sebastian Thiel | |
2019-06-04 | Properly fix byte column width handling | Sebastian Thiel | |
2019-06-03 | bytes formatting for interactive + footer | Sebastian Thiel | |