-
Notifications
You must be signed in to change notification settings - Fork 816
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
ensure SyncEngine use an initialized instance of SyncOptions #4816
Conversation
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.
Please see comment
c578587
to
48d4b24
Compare
Codecov Report
@@ Coverage Diff @@
## master #4816 +/- ##
==========================================
+ Coverage 56.79% 57.22% +0.43%
==========================================
Files 138 138
Lines 17143 17144 +1
==========================================
+ Hits 9736 9811 +75
+ Misses 7407 7333 -74
|
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.
Looks nice. @mgallien @claucambra I'd say, we need to have 2 constructors for SyncEngine ideally, such that one that does not take SyncOptions as a parameter will always do the initialization job inside, and the other one will be used when we need to pass empty SyncOptions.
Just an idea for refactoring.
will prevent nextcloudcmd command line client from ignoring the settings handled by SyncOptions Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
48d4b24
to
8551a14
Compare
AppImage file: Nextcloud-PR-4816-8551a14c48bbfac15785a4cc00ab19aa9fc46f3e-x86_64.AppImage |
SonarCloud Quality Gate failed. |
will prevent nextcloudcmd command line client from ignoring the settings
handled by SyncOptions
Signed-off-by: Matthieu Gallien matthieu.gallien@nextcloud.com