newly created folders will be read-only when needed #3113
Annotations
4 errors, 4 warnings, and 7 notices
src/common/filesystembase.h:21:10 [clang-diagnostic-error]:
src/common/filesystembase.h#L21
'config.h' file not found
|
src/libsync/filesystem.h:17:10 [clang-diagnostic-error]:
src/libsync/filesystem.h#L17
'config.h' file not found
|
src/libsync/propagatedownload.cpp:15:10 [clang-diagnostic-error]:
src/libsync/propagatedownload.cpp#L15
'config.h' file not found
|
src/libsync/propagatedownload.h:16:10 [clang-diagnostic-error]:
src/libsync/propagatedownload.h#L16
'owncloudlib.h' file not found
|
src/libsync/filesystem.cpp:199:18 [modernize-use-trailing-return-type]:
src/libsync/filesystem.cpp#L199
use a trailing return type for this function
|
src/libsync/filesystem.cpp:199:39 [bugprone-easily-swappable-parameters]:
src/libsync/filesystem.cpp#L199
2 adjacent parameters of 'setFolderPermissions' of similar type are easily swapped by mistake
|
src/libsync/filesystem.h:27:7 [cppcoreguidelines-avoid-non-const-global-variables]:
src/libsync/filesystem.h#L27
variable 'QFile' is non-const and globally accessible, consider making it const
|
src/libsync/propagatedownload.cpp:1168:29 [readability-function-cognitive-complexity]:
src/libsync/propagatedownload.cpp#L1168
function 'downloadFinished' has cognitive complexity of 56 (threshold 25)
|
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, 199, 204, 219, 244, 314)
|
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 19, 100, 101, 102, 104)
|
Run clang-format on src/libsync/owncloudpropagator.cpp:
src/libsync/owncloudpropagator.cpp#L1
File src/libsync/owncloudpropagator.cpp does not conform to Custom style guidelines. (lines 1446, 1447, 1448, 1449, 1454, 1455, 1456, 1460, 1461, 1462, 1464, 1465, 1471, 1472, 1473, 1474, 1479, 1480, 1481, 1485, 1486, 1487, 1489, 1490, 1510)
|
Run clang-format on src/libsync/propagatedownload.cpp:
src/libsync/propagatedownload.cpp#L1
File src/libsync/propagatedownload.cpp does not conform to Custom style guidelines. (lines 687, 688, 1296, 1297)
|
Run clang-format on src/libsync/propagatorjobs.cpp:
src/libsync/propagatorjobs.cpp#L1
File src/libsync/propagatorjobs.cpp does not conform to Custom style guidelines. (lines 35, 200, 201, 213, 214, 215, 216, 220, 221, 234, 235, 321, 322, 339, 340, 345, 354)
|
Run clang-format on test/testpermissions.cpp:
test/testpermissions.cpp#L1
File test/testpermissions.cpp does not conform to Custom style guidelines. (lines 119, 122, 124, 128, 132, 135, 136, 138, 141, 145, 148, 152, 154, 160, 239, 319, 322, 598, 709, 712, 726, 729)
|
Run clang-format on test/testsyncengine.cpp:
test/testsyncengine.cpp#L1
File test/testsyncengine.cpp does not conform to Custom style guidelines. (lines 853, 854)
|