-
Notifications
You must be signed in to change notification settings - Fork 41
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
Implement -daystart
#413
Implement -daystart
#413
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #413 +/- ##
==========================================
+ Coverage 65.86% 65.98% +0.12%
==========================================
Files 34 34
Lines 3978 4004 +26
Branches 909 912 +3
==========================================
+ Hits 2620 2642 +22
+ Misses 999 996 -3
- Partials 359 366 +7 ☔ View full report in Codecov by Sentry. |
Commit a95bf69 has GNU testsuite comparison:
|
src/find/matchers/time.rs
Outdated
} | ||
|
||
impl Matcher for FileAgeRangeMatcher { | ||
fn matches(&self, file_info: &DirEntry, matcher_io: &mut MatcherIO) -> bool { | ||
match self.matches_impl(file_info, matcher_io.now()) { | ||
let time = if self.today_start { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe move this into a function as you are duplicating it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it would be better to wrap it in a function. Changed in the latest commit.
Commit d5af780 has GNU testsuite comparison:
|
Commit 0649b10 has GNU testsuite comparison:
|
Commit 30ecf22 has GNU testsuite comparison:
|
Looks like i broke the rebase, sorry :( |
Commit 81cc4d7 has GNU testsuite comparison:
|
Commit cb90f29 has GNU testsuite comparison:
|
Commit bfacdf6 has GNU testsuite comparison:
|
Commit 85b8999 has GNU testsuite comparison:
|
Commit f978708 has GNU testsuite comparison:
|
Commit 4cad380 has GNU testsuite comparison:
|
Commit a68048b has GNU testsuite comparison:
|
thanks :) |
Closes #372