Jon Moroney
c4c3078959
Remove lock file from gitignore and track cargo.lock
...
Stop ignoring lock file and start tracking from a build on 2022-11-13
2022-11-13 11:34:53 -08:00
Jon
18db05e14c
Merge pull request #61 from VysNouse/clap-4
...
Clap 4
2022-11-06 14:11:55 -08:00
Mr Nouse
abdb42efe6
cli: re-introduce -d flag for directories.
...
Directories is not anymore a positionnal argument, you must use the -d
flag:
ddh -v duplicates -d /home/jon/downloads /home/jon/documents -o no
2022-10-23 10:09:28 +02:00
Mr Nouse
35dd1fc967
README update
2022-10-06 17:24:34 +02:00
Mr Nouse
ebc1de7706
use clap derive api
2022-10-06 17:09:26 +02:00
Mr Nouse
df8e04c117
clap: bump to 4.0
2022-10-06 14:29:11 +02:00
Jon
f54ba5d6f8
Merge pull request #60 from VysNouse/cli-off-fix
...
cli: suppress unused option PrintFmt::Off
2022-08-02 13:35:45 -07:00
Mr Nouse
11ac86f882
cli: suppress unused option PrintFmt::Off
2022-08-01 19:05:11 +02:00
Jon
e1fc3fb949
Merge pull request #59 from VysNouse/doc-about-typo
...
cli: usage update
2022-06-13 12:42:51 -07:00
Mr Nouse
029b881f7e
cli: usage update
2022-06-13 18:28:18 +02:00
Jon
dda2b4d529
Merge pull request #57 from darakian/resolve-crash-and-cleanup-input-checks
...
Handle user input better
2022-06-13 08:59:29 -07:00
Jonathan Moroney
39f0c5f530
Handle user input better
...
Should resolve #56 and make code more readable
2022-06-13 08:57:43 -07:00
Jon
981d04b4e3
Merge pull request #58 from darakian/update-license
...
Update license to lgpl 3 only
2022-06-10 15:02:10 -07:00
Jonathan Moroney
debf74859e
Update license to lgpl 3 only
...
Closes #54 and resolves the lgpl 3.0 being deprecated and thus unsupported in tooling
2022-06-10 14:58:05 -07:00
Jon
73da6f76a6
Merge pull request #55 from darakian/ignore-dirs
...
Add directory exclusion logic
2022-04-28 16:13:07 -07:00
Jonathan Moroney
4d71a84a05
Mark as don't run
2022-04-28 16:11:28 -07:00
Jonathan Moroney
98b1955538
Update doc
2022-04-28 16:07:35 -07:00
Jon Moroney
166401766a
First pass at directory exclusion logic
2022-03-21 18:20:09 -07:00
Jon Moroney
e4c574ffd9
Bump to version 0.12.0
2022-01-31 13:32:14 -08:00
Jon
6c60d41d11
Merge pull request #52 from darakian/update-to-clap3
...
Update to clap3
2022-01-31 13:30:37 -08:00
Jon Moroney
d893039975
Wire up min size for files
2022-01-23 15:05:46 -08:00
Jon Moroney
f566fecf47
Add in min file size arg
2022-01-23 14:42:05 -08:00
Jon Moroney
5e14d491ea
Migrate to clap 3, move about to a static and remove positionality from directories arg
2022-01-23 14:34:47 -08:00
Jon Moroney
2b5cce4dbc
Merge pull request #48 from yvan-sraka/master
...
Run cargo fmt and clippy on codebase
2021-10-24 14:30:03 -07:00
Yvan Sraka
ea9778cabc
% cargo clippy
2021-10-22 21:38:03 +02:00
Yvan Sraka
1c7550d697
% cargo fmt
2021-10-22 21:32:55 +02:00
Jon Moroney
4961458f27
Merge pull request #46 from darakian/bump-rayon
...
Bump rayon
2020-10-09 15:36:01 -07:00
Jon Moroney
a037edc577
Bump Rayon
2020-10-09 15:18:27 -07:00
Jon Moroney
3a53f0c375
Merge pull request #45 from darakian/clippy-cleanup
...
Resolve issues raised by clippy
2020-10-09 14:35:34 -07:00
Jon Moroney
4c1a7a3118
Resolve issues raised by clippy
2020-10-09 14:30:40 -07:00
Jon Moroney
c9abf2bca4
Merge pull request #43 from darakian/cut-0.11.3
...
Cut 0.11.3
2020-08-23 15:11:28 -07:00
Jon Moroney
8789621cdf
Cut 0.11.3
2020-08-23 15:09:26 -07:00
Jon Moroney
168f48c1e9
Merge pull request #42 from darakian/canonicalize-paths
...
Canonicalize paths and use match over if else logic
2020-08-23 15:08:16 -07:00
Jon Moroney
20834278af
Canonicalize paths and use match over if else logic
2020-08-23 14:57:21 -07:00
Jon Moroney
fd25477f1f
Merge pull request #41 from darakian/fix-length-counting-bug
...
Resolve issue where dir metadata was used for file length
2020-08-17 21:00:41 -07:00
Jon Moroney
cff206b817
Resolve issue where dir metadata was used for file length
2020-08-17 20:57:30 -07:00
Jon Moroney
85260e822a
Merge pull request #39 from darakian/bump-version
...
Bump version to 11.2
2020-08-13 16:20:03 -07:00
Jon Moroney
564ff78666
Bump version to 11.2
2020-08-13 16:18:22 -07:00
Jon Moroney
be232991e8
Merge pull request #38 from darakian/store-fs-metadata
...
Add metadata as new entry
2020-08-05 19:46:51 -07:00
Jon Moroney
46c6e72abf
Add metadata as new entry
...
Alter the fileinfo struct to work with an fs::Metadata iter rather than accessing length
immediately. File length access is maintained by altering the get_length() function
to reference the metadata and by using the struct get_length() function as opposed
to direct access.
2020-08-05 19:44:32 -07:00
Jon Moroney
513de13295
Merge pull request #37 from darakian/for-loop-to-for-each
...
Convert a few for loops to for_each
2020-08-05 18:05:14 -07:00
Jon Moroney
78cd7f284b
Convert a few for loops to for_each
2020-08-05 18:03:55 -07:00
Jon Moroney
26e645d88a
Merge pull request #36 from darakian/update-dependencies
...
Minor version bumps
2020-08-02 16:03:28 -07:00
Jon Moroney
c8478035ac
Minor version bumps
...
Minor bump
2020-08-02 16:00:51 -07:00
Jon Moroney
89b2e8d439
Merge pull request #35 from darakian/factor-out-fileinfo
...
Factor out fileinfo to its own file
2020-08-02 15:41:03 -07:00
Jon Moroney
cb44786864
Factor out fileinfo to its own file
...
Move the file info struct to its own file. lib.rs is getting a bit big
2020-08-02 15:38:29 -07:00
Jon Moroney
7035276acd
Merge pull request #33 from darakian/impl-serialize-for-FileInfo
...
Remove serde-derive
2020-08-02 14:56:34 -07:00
Jon Moroney
c147bac7b5
Remove serde-derive
...
This PR implements serialize for Fileinfo and removes serde derive.
This speeds up compile time.
2020-08-02 14:35:11 -07:00
Jon Moroney
3636ebf424
Merge pull request #34 from darakian/skip-hash-unwrap
...
Skip unrapping hashes in comparison
2020-08-02 14:33:47 -07:00
Jon Moroney
806821e6cc
Skip unrapping hashes in comparison
...
Rust will inspect the contents of an option in equality checking
Skipping the unwrap step resolves thread panics where a zero length file
will have no hash
2020-08-02 14:30:38 -07:00