mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +03:00
Mark non-const getters in Folder definition as const
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
92d0dca614
commit
fd769adb05
1 changed files with 4 additions and 4 deletions
|
@ -223,11 +223,11 @@ public:
|
||||||
void setIgnoreHiddenFiles(bool ignore);
|
void setIgnoreHiddenFiles(bool ignore);
|
||||||
|
|
||||||
// Used by the Socket API
|
// Used by the Socket API
|
||||||
SyncJournalDb *journalDb() { return &_journal; }
|
SyncJournalDb *journalDb() const { return &_journal; }
|
||||||
SyncEngine &syncEngine() { return *_engine; }
|
SyncEngine &syncEngine() const { return *_engine; }
|
||||||
Vfs &vfs() { return *_vfs; }
|
Vfs &vfs() const { return *_vfs; }
|
||||||
|
|
||||||
RequestEtagJob *etagJob() { return _requestEtagJob; }
|
RequestEtagJob *etagJob() const { return _requestEtagJob; }
|
||||||
std::chrono::milliseconds msecSinceLastSync() const { return std::chrono::milliseconds(_timeSinceLastSyncDone.elapsed()); }
|
std::chrono::milliseconds msecSinceLastSync() const { return std::chrono::milliseconds(_timeSinceLastSyncDone.elapsed()); }
|
||||||
std::chrono::milliseconds msecLastSyncDuration() const { return _lastSyncDuration; }
|
std::chrono::milliseconds msecLastSyncDuration() const { return _lastSyncDuration; }
|
||||||
int consecutiveFollowUpSyncs() const { return _consecutiveFollowUpSyncs; }
|
int consecutiveFollowUpSyncs() const { return _consecutiveFollowUpSyncs; }
|
||||||
|
|
Loading…
Reference in a new issue