Skip to content

Feature/office files lock newly created. Plus refactoring. #3248

Feature/office files lock newly created. Plus refactoring.

Feature/office files lock newly created. Plus refactoring. #3248

Triggered via pull request April 6, 2024 12:54
Status Success
Total duration 42s
Artifacts

clang-format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 10 warnings, and 3 notices
src/gui/folder.cpp:16:10 [clang-diagnostic-error]: src/gui/folder.cpp#L16
'common/syncjournaldb.h' file not found
src/libsync/filesystem.cpp:41:39 [bugprone-easily-swappable-parameters]: src/libsync/filesystem.cpp#L41
2 adjacent parameters of 'findMatchingUnlockedFileInDir' of similar type ('const int &') are easily swapped by mistake
src/libsync/filesystem.cpp:66:13 [cppcoreguidelines-init-variables]: src/libsync/filesystem.cpp#L66
variable 'lockFilePatternFound' is not initialized
Run clang-format on src/libsync/filesystem.h: src/libsync/filesystem.h#L1
File src/libsync/filesystem.h does not conform to Custom style guidelines. (lines 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59)
Run clang-format on src/libsync/syncengine.cpp: src/libsync/syncengine.cpp#L1
File src/libsync/syncengine.cpp does not conform to Custom style guidelines. (lines 937, 938, 941)
Run clang-format on test/testfolderwatcher.cpp: test/testfolderwatcher.cpp#L1
File test/testfolderwatcher.cpp does not conform to Custom style guidelines. (lines 273)