findutils
findutils copied to clipboard
Rust implementation of findutils
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.0 to 1.13.1. Changelog Sourced from once_cell's changelog. 1.13.1 Make implementation compliant with strict provenance. Upgrade atomic-polyfill to 1.0 Commits 865ab57 Merge #191 d997723 simplify strict-provenance polyfill...
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.20 to 0.4.22. Release notes Sourced from chrono's releases. 0.4.22 Unfortunately the introduction of the iana-time-zone dependency in 0.4.21 caused some new regressions with lesser known platforms....
```console $ find ~ -print0 | ./target/debug/xargs -0 echo >/dev/null Error: Command could not be run: Argument list too long (os error 7) ``` From a quick look, there's at...
not sure if this does what it should be doing but tests are passing fixes #112
Currently: ``` # TOTAL: 16 # PASS: 3 # SKIP: 1 # XFAIL: 0 # FAIL: 11 # XPASS: 0 # ERROR: 1 ```
Signed-off-by: Ryan Gonzalez Unfortunately, it wasn't possible to make work as needed without these two PRs to walkdir: https://github.com/BurntSushi/walkdir/pull/159 https://github.com/BurntSushi/walkdir/pull/160 However, it seems that PRs to walkdir have been stagnant...
findutils is doing way too many argument management by hand. It should be delegate to clap for example https://github.com/uutils/findutils/blob/ac576f50b0acedf59a7d64144787fa3129c635bd/src/find/mod.rs#L89-L92 https://github.com/uutils/findutils/blob/ac576f50b0acedf59a7d64144787fa3129c635bd/src/find/mod.rs#L167-L175 https://github.com/uutils/findutils/blob/ac576f50b0acedf59a7d64144787fa3129c635bd/src/find/mod.rs#L205-L207 https://github.com/uutils/findutils/blob/ac576f50b0acedf59a7d64144787fa3129c635bd/src/find/matchers/mod.rs#L205-L212
Rust is amazing at parallelism, we could probably leverage that to run the analysis in parallel: https://github.com/uutils/findutils/blob/ac576f50b0acedf59a7d64144787fa3129c635bd/src/find/mod.rs#L156
This involves handling -H, -L and finishing find::matchers::type_matcher. Take a look at https://github.com/BurntSushi/walkdir/blob/master/examples/walkdir.rs for hints on how to handle -L with walkdir and https://github.com/BurntSushi/walkdir/blob/master/src/tests.rs on how to test interaction with...