Skip to content

[stable-3.12] Detect office files for locking on new upload. Notify FolderWatcher. #3346

[stable-3.12] Detect office files for locking on new upload. Notify FolderWatcher.

[stable-3.12] Detect office files for locking on new upload. Notify FolderWatcher. #3346

Triggered via pull request April 23, 2024 15:30
Status Success
Total duration 30m 47s
Artifacts

clang-format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 4 notices
src/libsync/filesystem.cpp:39:39 [bugprone-easily-swappable-parameters]: src/libsync/filesystem.cpp#L39
2 adjacent parameters of 'findMatchingUnlockedFileInDir' of similar type ('const int &') are easily swapped by mistake
src/libsync/filesystem.cpp:71:13 [cppcoreguidelines-init-variables]: src/libsync/filesystem.cpp#L71
variable 'lockFilePatternFound' is not initialized
src/libsync/filesystem.cpp:93:64 [bugprone-easily-swappable-parameters]: src/libsync/filesystem.cpp#L93
2 adjacent parameters of 'lockFileTargetFilePath' of similar type ('const int &') are easily swapped by mistake
Run clang-format on src/libsync/filesystem.cpp: src/libsync/filesystem.cpp#L1
File src/libsync/filesystem.cpp does not conform to Custom style guidelines. (lines 31, 46, 47)
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 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57)
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)