pom421
278a31971c
add brew command in README ( #97 )
...
* add brew command in README
* Add an emoji
* remove unncessary space
2020-08-02 11:47:12 +01:00
andy.boot
479e5899c6
Merge pull request #96 from yuqio/change-ansi-red
...
Change red ANSI color code for size of biggest file
2020-06-29 13:21:28 +01:00
yuqio
c4c173e40e
Change red ANSI color code for size of biggest file
...
The enum variant `ansi_term::Colour::Red` (which uses the ANSI color code `31`)
is used instead of the code `196` to display the size of the largest file. This
means that the red color of the terminal theme is used which is probably
preferred by most users.
2020-06-29 01:00:11 +02:00
andy.boot
b8410ee4da
Merge pull request #95 from j2ghz/patch-1
...
Add packaging status
2020-06-07 13:09:23 +01:00
Jozef Hollý
0cb0396a84
Add packaging status
2020-06-07 11:07:04 +02:00
andy.boot
b1fe078e06
Merge pull request #93 from bootandy/ab-fixes
...
Ab various minor fixes
2020-06-02 21:04:20 +01:00
andy.boot
b3d446bfef
Display: No padding if no bars drawn
...
If not drawing the percent bars do not add padding to the filenames
https://github.com/bootandy/dust/issues/89
2020-06-02 13:57:46 +01:00
andy.boot
34be81c216
Windows: If no color flag is already set
...
... then do not print a warning message
https://github.com/bootandy/dust/issues/87
2020-06-02 13:45:12 +01:00
andy.boot
342164d357
Tests: Add Missing copy command
...
should have been added with previous commit, would occastionaly have
caused tests to fail if tests run in random order
2020-03-28 18:32:40 +00:00
andy.boot
bfa3594fe8
Merge pull request #86 from bootandy/ab-run-tests-tmp
...
Move from ignore to jwalk & refactor tests
2020-03-28 16:27:45 +00:00
andy.boot
1f120de168
Run tests on /tmp directory
2020-03-28 16:07:35 +00:00
andy.boot
c0048b2ae4
Handle running with bad parameter
...
Earlier refactor caused running with: 'dust -' to crash
2020-03-28 15:59:07 +00:00
andy.boot
402a8f8249
Remove thread parameter
...
Code to limit number of threads removed. ignore crate seems quite good
at using CPUs correctly
2020-03-28 15:59:07 +00:00
andy.boot
7cc7047b28
Move from assert_cli to assert_cmd
...
assert_cli is deprecated.
This allows us to use 'or' in the output of our integration tests
2020-03-28 15:06:40 +00:00
andy.boot
1953e107c2
Move everything to ignore instead of jwalk
2020-03-22 23:58:07 +00:00
andy.boot
f096e82754
Merge pull request #81 from rivy/fix.cicd-features
...
Maint/CI ~ fix features option for GHA `cargo ...` and `cross ...`
2020-03-15 09:50:37 +00:00
Roy Ivy III
c3415df4b1
Maint/CI ~ fix features option for GHA cargo ... and cross ...
2020-03-10 14:10:28 -05:00
andy.boot
9452049aff
Increment version
v0.5.1
2020-03-01 16:23:26 +00:00
andy.boot
09e3c27e70
Merge pull request #80 from bootandy/colours3
...
Rethink colors
2020-03-01 16:20:00 +00:00
andy.boot
b0bfe654c4
Rethink colors
...
Use LS_COLORS to print default color of each file or folder
Keep showing largest sub folder in red.
2020-03-01 16:10:22 +00:00
andy.boot
6bc44de495
Merge pull request #74 from rasmushalland/win-perf
...
Avoid opening all files for reading on windows
2020-03-01 14:49:47 +00:00
Rasmus Halland
efb455c739
Opening files on windows got a lot cheaper.
...
We avoid passing FILE_READ_DATA to CreateFile.
2020-03-01 14:41:21 +01:00
andy.boot
2c58041885
Clean up windows performance
...
Instead of generating random values for the drive and inode counter on
windows we return None instead
2020-03-01 14:41:21 +01:00
Rasmus Halland
c30f31c22c
Avoid opening all files for reading on windows
...
It can be very expensive to do that, especially when it causes windows defender to read the files and scan them.
2020-03-01 14:41:21 +01:00
andy.boot
59f2cdfb84
Merge pull request #79 from NeelChotai/colours
...
use LS_COLORS for largest subdirectories
2020-03-01 00:59:34 +00:00
Neel Chotai
795d91237d
update args descriptions
2020-03-01 00:51:36 +00:00
Neel Chotai
26ae050f16
use LS_COLORS for directories
2020-03-01 00:51:32 +00:00
Neel Chotai
58b395e7ee
fix compiler warning
2020-03-01 00:49:10 +00:00
andy.boot
3beb2b5274
Merge pull request #78 from bootandy/ab-fix-build
...
Maybe fix windows 8 support
2020-02-29 23:06:57 +00:00
andy.boot
19d938b05e
Maybe fix windows 8 support
...
enable_ansi_support must be run for windows 10 but is not required and
indeed fails if run on windows < 10.
Disable the expect so the code might run on windows 8
may fix:
https://github.com/bootandy/dust/issues/70
2020-02-29 11:13:13 +00:00
andy.boot
d4daa82297
Merge pull request #77 from bootandy/ab-fix-build
...
Ab fix build
2020-02-29 01:35:10 +00:00
andy.boot
21097578d9
Remove feature flag from build
...
The --features flag was empty which caused the build to fail. As the
features flag was not used it was removed.
2020-02-29 00:42:28 +00:00
andy.boot
069dc184a9
Merge pull request #73 from bootandy/readme
...
Update readme
2020-02-20 20:39:20 +00:00
andy.boot
02fa657128
Update readme
2020-02-20 20:36:35 +00:00
andy.boot
bc0e376c88
New Version
v0.5.0
2020-02-19 20:22:54 +00:00
andy.boot
d7c602a2d2
Merge pull request #72 from bootandy/ab-redesign
...
Large redesign
2020-02-19 20:19:50 +00:00
andy.boot
603e6be7eb
Large redesign
...
Use the whole width of the terminal assume width of 80 if none found
Show percentages in the final column. Show ASCII bars indicating usage
of the underlying directories in the space inbetween.
Display (height of terminal - 10) entries by default.
Reverse the output order so largest is at the bottom.
Break up tests. Change older tests to check real output of program.
2020-02-18 20:58:53 +00:00
andy.boot
efa469e12f
Merge pull request #67 from bootandy/ab-simplify-inodes2
...
Simplify inodes & devices by removing Option
2020-02-10 22:11:35 +00:00
andy.boot
657858df16
Simplify inodes & devices by removing Option
...
This code now won't compile on none-(windows/unix family)
systems. [unix family includes mac]
Removing this method allows us to remove an Option and simplify the code
slightly
2020-02-09 14:33:46 +00:00
andy.boot
a8d700d530
Merge pull request #66 from bootandy/ab-refactor
...
Refactor code
2020-02-09 14:27:05 +00:00
andy.boot
c408d8887d
Update docs for -X flag.
...
-X flag changed subtly with previous pull request. It now requires a
directory name and doesn't work on substrings.
2020-02-09 14:10:53 +00:00
andy.boot
be2250d241
Refactor: use if let instead of is_some
2020-02-09 14:10:53 +00:00
andy.boot
b6aa1378de
Fix bug for devices and apparent size
...
If apparent_size was set and ignore files on other devices was set then
the latter flat would not work.
Fix this bug
2020-02-09 13:57:08 +00:00
andy.boot
2082141dfc
Add tests for should_ignore_file function
...
function currently has a bug that is highlighted by second test
2020-02-09 13:57:08 +00:00
andy.boot
8a9b5e889d
Refactor path depth calculation
...
Factor out duplicate code,
Add comment explaining why filter is necessary (thanks to rivy)
2020-02-09 13:57:08 +00:00
andy.boot
871b7e90d8
Merge pull request #64 from rivy/rf.path
...
Refactor ~ use Path/PathBuf instead of &str/String
2020-02-09 13:52:11 +00:00
andy.boot
edf300893c
Increment version
2020-02-09 10:08:41 +00:00
Roy Ivy III
a3d8fc00e1
Refactor ~ use AsRef<Path> where possible
2020-02-03 16:56:50 -06:00
Roy Ivy III
9d4531d48b
Refactor ~ use PathBuf instead of String
2020-02-03 16:56:47 -06:00
andy.boot
75e419e7ed
Update README.md
...
Remove section on performance, I can not replicate this and don't want to cause controversy.
v0.4.5.0
2020-02-03 20:54:19 +00:00