Skip to content

samefile: Cache FileInformation for the target - #409

Merged
hanbings merged 1 commit into
uutils:mainfrom
tavianator:samefile-follow
Jun 28, 2024
Merged

hanbings merged 1 commit into
uutils:mainfrom
tavianator:samefile-follow

Conversation

@tavianator

Copy link
Copy Markdown
Contributor

And don't follow symlinks.

@codecov

codecov Bot commented Jun 27, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.

Project coverage is 65.55%. Comparing base (f145469) to head (7c8f6f3).

Files Patch % Lines
src/find/matchers/samefile.rs 50.00% 1 Missing and 2 partials ⚠️
src/find/matchers/mod.rs 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #409      +/-   ##
==========================================
- Coverage   65.59%   65.55%   -0.05%     
==========================================
  Files          34       34              
  Lines        3941     3942       +1     
  Branches      901      901              
==========================================
- Hits         2585     2584       -1     
- Misses       1001     1002       +1     
- Partials      355      356       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Run BFS tests: Changes from main: PASS +4 / SKIP +0 / FAIL -4
Run BFS tests: BFS tests summary = TOTAL: 288 / PASS: 190 / SKIP: 1 / FAIL: 97
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O0 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O1 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O2 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O3 is now passing!
Run GNU findutils tests: GNU tests summary = TOTAL: 702 / PASS: 445 / FAIL: 254 / ERROR: 2
Run GNU findutils tests: Changes from main: PASS +4 / FAIL -8 / ERROR +0 / SKIP +0 

@sylvestre

Copy link
Copy Markdown
Contributor

@hanbings wdyt ? :)

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Run BFS tests: Changes from main: PASS +4 / SKIP +0 / FAIL -4
Run BFS tests: BFS tests summary = TOTAL: 288 / PASS: 190 / SKIP: 1 / FAIL: 97
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O0 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O1 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O2 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O3 is now passing!
Run GNU findutils tests: GNU tests summary = TOTAL: 702 / PASS: 445 / FAIL: 254 / ERROR: 2
Run GNU findutils tests: Changes from main: PASS +4 / FAIL -8 / ERROR +0 / SKIP +0 

@github-actions

Copy link
Copy Markdown

Commit 7c8f6f3 has GNU testsuite comparison:

Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O0 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O1 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O2 is now passing!
Run GNU findutils tests: Congrats! The GNU test samefile-p-brokenlink.new-O3 is now passing!
Run GNU findutils tests: GNU tests summary = TOTAL: 702 / PASS: 445 / FAIL: 254 / ERROR: 2
Run GNU findutils tests: Changes from main: PASS +4 / FAIL -8 / ERROR +0 / SKIP +0 
Run BFS tests: Changes from main: PASS +4 / SKIP +0 / FAIL -4
Run BFS tests: BFS tests summary = TOTAL: 288 / PASS: 190 / SKIP: 1 / FAIL: 97

@sylvestre
sylvestre requested a review from hanbings June 28, 2024 07:21

@hanbings hanbings left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me, thanks! :)

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.

3 participants