Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(file-provider): Do not continue polling ETag from file provider when account is disabled #10445
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
Uh oh!
There was an error while loading. Please reload this page.
fix(file-provider): Do not continue polling ETag from file provider when account is disabled #10445
Changes from all commits
ae44818ddfa202File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 42 in src/gui/folderman.cpp
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 48 in src/gui/folderman.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 111 in src/gui/folderman.cpp
Make the type of this parameter a pointer-to-const. The current type of "f" is "class OCC::Folder *".
Check warning on line 230 in src/gui/folderman.cpp
implicit conversion loses integer precision: 'size_type' (aka 'long long') to 'int'
Check warning on line 456 in src/gui/folderman.cpp
implicit conversion loses integer precision: 'size_type' (aka 'long long') to 'int'
Check warning on line 463 in src/gui/folderman.cpp
This lambda has 21 lines, which is greater than the 20 lines authorized. Split it into several lambdas or functions, or make it a named function.
Check warning on line 570 in src/gui/folderman.cpp
Unmodified variable "accountState" of type "class OCC::AccountState *" should be const-qualified.
Check failure on line 570 in src/gui/folderman.cpp
Refactor this function to reduce its Cognitive Complexity from 45 to the 25 allowed.
Check warning on line 605 in src/gui/folderman.cpp
This lambda has 84 lines, which is greater than the 20 lines authorized. Split it into several lambdas or functions, or make it a named function.
Check failure on line 685 in src/gui/folderman.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 748 in src/gui/folderman.cpp
Unmodified variable "folder" of type "class OCC::Folder *" should be const-qualified.
Check warning on line 1049 in src/gui/folderman.cpp
Unmodified variable "f" of type "class OCC::Folder *" should be const-qualified.
Check warning on line 1090 in src/gui/folderman.cpp
This function should be declared "const".
Check warning on line 1133 in src/gui/folderman.cpp
Replace with the version of "std::ranges::copy_if" that takes a range.
Check warning on line 1442 in src/gui/folderman.cpp
Replace with the version of "std::ranges::none_of" that takes a range.
Check warning on line 1512 in src/gui/folderman.cpp
Replace with the version of "std::ranges::find_if" that takes a range.
Check warning on line 1575 in src/gui/folderman.cpp
Unmodified variable "folderToRemove" of type "class OCC::Folder *" should be const-qualified.
Check failure on line 1611 in src/gui/folderman.cpp
Rewrite the code so that you no longer need this "delete".
Check warning on line 1656 in src/gui/folderman.cpp
Unmodified variable "userFolder" of type "class QDir" should be const-qualified.
Check warning on line 1735 in src/gui/folderman.cpp
Use the init-statement to declare "rec" inside the if statement.
Check warning on line 1756 in src/gui/folderman.cpp
Unmodified variable "statusCode" of type "int" should be const-qualified.
Check warning on line 1756 in src/gui/folderman.cpp
Remove the unused lambda capture "localFile".
Check warning on line 1758 in src/gui/folderman.cpp
Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.
Check warning on line 1765 in src/gui/folderman.cpp
Unmodified variable "status" of type "enum OCC::SyncResult::Status *" should be const-qualified.
Check warning on line 1766 in src/gui/folderman.cpp
Unmodified variable "unresolvedConflicts" of type "_Bool *" should be const-qualified.
Check warning on line 1869 in src/gui/folderman.cpp
Unmodified variable "syncStatus" of type "enum OCC::SyncResult::Status" should be const-qualified.
Check warning on line 1869 in src/gui/folderman.cpp
Unmodified variable "paused" of type "_Bool" should be const-qualified.
Check failure on line 1869 in src/gui/folderman.cpp
Refactor this function to reduce its Cognitive Complexity from 34 to the 25 allowed.
Check warning on line 1869 in src/gui/folderman.cpp
Unmodified variable "hasUnresolvedConflicts" of type "_Bool" should be const-qualified.
Check warning on line 1869 in src/gui/folderman.cpp
Make the type of this parameter a pointer-to-const. The current type of "progress" is "class OCC::ProgressInfo *const".
Check warning on line 1882 in src/gui/folderman.cpp
Reduce this switch case number of lines from 31 to at most 5, for example by extracting code into methods.
Check warning on line 1886 in src/gui/folderman.cpp
Unmodified variable "currentFile" of type "long long" should be const-qualified.
Check warning on line 1887 in src/gui/folderman.cpp
Unmodified variable "totalFileCount" of type "long long" should be const-qualified.
Check failure on line 1888 in src/gui/folderman.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check failure on line 1900 in src/gui/folderman.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 1958 in src/gui/folderman.cpp
Use the init-statement to declare "parentPath" inside the if statement.
Check warning on line 2162 in src/gui/folderman.cpp
Unmodified variable "folder" of type "class OCC::Folder *" should be const-qualified.
Check warning on line 2173 in src/gui/folderman.cpp
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 2173 in src/gui/folderman.cpp
Unmodified variable "account" of type "class OCC::Account *" should be const-qualified.
Check warning on line 2177 in src/gui/folderman.cpp
Unmodified variable "folder" of type "class OCC::Folder *" should be const-qualified.
Check warning on line 2204 in src/gui/folderman.cpp
Unmodified variable "mode" of type "enum OCC::Vfs::Mode" should be const-qualified.
Check failure on line 10 in src/gui/folderman.h
src/gui/folderman.h:10:10 [clang-diagnostic-error]
Check warning on line 39 in src/gui/folderman.h
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 231 in src/gui/folderman.h
Edit this comment to use the C++ format, i.e. "//".
Check warning on line 234 in src/gui/folderman.h
Edit this comment to use the C++ format, i.e. "//".
Check warning on line 331 in src/gui/folderman.h
Rename this identifier to be shorter or equal to 31 characters.
Check failure on line 11 in test/testfolderman.cpp
test/testfolderman.cpp:11:10 [clang-diagnostic-error]
Uh oh!
There was an error while loading. Please reload this page.