Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid skipping the entire directory if a file hits -prune #139

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

refi64
Copy link
Contributor

@refi64 refi64 commented Jan 31, 2022

This matches up with the behavior of GNU findutils, as documented in its
man page:

if the file is a directory, do not descend into it

Signed-off-by: Ryan Gonzalez [email protected]

This matches up with the behavior of GNU findutils, as documented in its
man page:

> **if the file is a directory**, do not descend into it

Signed-off-by: Ryan Gonzalez <[email protected]>
@codecov
Copy link

codecov bot commented Jan 31, 2022

Codecov Report

Merging #139 (5f05435) into main (78eba7e) will increase coverage by 0.13%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #139      +/-   ##
==========================================
+ Coverage   52.84%   52.98%   +0.13%     
==========================================
  Files          24       24              
  Lines        4755     4756       +1     
  Branches     1549     1548       -1     
==========================================
+ Hits         2513     2520       +7     
- Misses       1686     1687       +1     
+ Partials      556      549       -7     
Impacted Files Coverage Δ
src/find/matchers/prune.rs 100.00% <100.00%> (ø)
src/lib.rs 35.87% <0.00%> (ø)
src/xargs/mod.rs 79.53% <0.00%> (+1.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78eba7e...5f05435. Read the comment docs.

@sylvestre
Copy link
Contributor

Looks good, thanks!

@sylvestre sylvestre merged commit 58070d6 into uutils:main Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants