Skip to content

avoid detecting permissions to be invalid on linux NTFS file system #4942

avoid detecting permissions to be invalid on linux NTFS file system

avoid detecting permissions to be invalid on linux NTFS file system #4942

Triggered via pull request January 10, 2025 13:54
Status Success
Total duration 1m 51s
Artifacts

clang-format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 10 warnings, and 4 notices
test/testlongpath.cpp:20:10 [clang-diagnostic-error]: test/testlongpath.cpp#L20
'common/filesystembase.h' file not found
src/csync/vio/csync_vio_local.h:33:1 [cppcoreguidelines-avoid-non-const-global-variables]: src/csync/vio/csync_vio_local.h#L33
variable 'std' is non-const and globally accessible, consider making it const
src/csync/vio/csync_vio_local.h:35:5 [cppcoreguidelines-avoid-non-const-global-variables]: src/csync/vio/csync_vio_local.h#L35
variable 'OCSYNC_EXPORT' is non-const and globally accessible, consider making it const
src/csync/vio/csync_vio_local_unix.cpp:52:12 [bugprone-reserved-identifier]: src/csync/vio/csync_vio_local_unix.cpp#L52
declaration uses identifier '_csync_vio_local_stat_mb', which is reserved in the global namespace
src/csync/vio/csync_vio_local_unix.cpp:139:12 [bugprone-reserved-identifier]: src/csync/vio/csync_vio_local_unix.cpp#L139
declaration uses identifier '_csync_vio_local_stat_mb', which is reserved in the global namespace
src/libsync/discoveryphase.cpp:287:1 [cppcoreguidelines-pro-type-member-init]: src/libsync/discoveryphase.cpp#L287
constructor does not initialize these fields: , , _account, _vfs
src/libsync/discoveryphase.cpp:287:68 [bugprone-easily-swappable-parameters]: src/libsync/discoveryphase.cpp#L287
2 adjacent parameters of 'DiscoverySingleLocalDirectoryJob' of similar type ('const int &') are easily swapped by mistake
Run clang-format on src/csync/vio/csync_vio_local_unix.cpp: src/csync/vio/csync_vio_local_unix.cpp#L1
File src/csync/vio/csync_vio_local_unix.cpp does not conform to Custom style guidelines. (lines 38, 74)
Run clang-format on src/libsync/discovery.cpp: src/libsync/discovery.cpp#L1
File src/libsync/discovery.cpp does not conform to Custom style guidelines. (lines 2140)
Run clang-format on src/libsync/discoveryphase.h: src/libsync/discoveryphase.h#L1
File src/libsync/discoveryphase.h does not conform to Custom style guidelines. (lines 141)
Run clang-format on test/csync/vio_tests/check_vio_ext.cpp: test/csync/vio_tests/check_vio_ext.cpp#L1
File test/csync/vio_tests/check_vio_ext.cpp does not conform to Custom style guidelines. (lines 164)