newly created folders will be read-only when needed #3116
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:197:18 [modernize-use-trailing-return-type]:
src/libsync/filesystem.cpp#L197
use a trailing return type for this function
|
src/libsync/filesystem.cpp:197:39 [bugprone-easily-swappable-parameters]:
src/libsync/filesystem.cpp#L197
2 adjacent parameters of 'setFolderPermissions' of similar type are easily swapped by mistake
|
src/libsync/filesystem.cpp:314:18 [modernize-use-trailing-return-type]:
src/libsync/filesystem.cpp#L314
use a trailing return type for this function
|
src/libsync/propagatedownload.cpp:1166:29 [readability-function-cognitive-complexity]:
src/libsync/propagatedownload.cpp#L1166
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 29, 197, 202, 217, 242, 319)
|
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, 101, 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 685, 686, 1294, 1295)
|
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, 197, 198, 210, 211, 212, 213, 217, 218, 231, 232, 317, 318, 334, 335, 340, 344, 345, 347)
|
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)
|