Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsync/discovery.h')
-rw-r--r--src/libsync/discovery.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libsync/discovery.h b/src/libsync/discovery.h
index e66dc7609..661315916 100644
--- a/src/libsync/discovery.h
+++ b/src/libsync/discovery.h
@@ -104,6 +104,13 @@ public:
SyncFileItemPtr _dirItem;
private:
+ struct Entries
+ {
+ QString nameOverride;
+ SyncJournalFileRecord dbEntry;
+ RemoteInfo serverEntry;
+ LocalInfo localEntry;
+ };
/** Structure representing a path during discovery. A same path may have different value locally
* or on the server in case of renames.
@@ -143,6 +150,8 @@ private:
}
};
+ bool checkForInvalidFileName(const PathTuple &path, const std::map<QString, Entries> &entries, Entries &entry);
+
/** Iterate over entries inside the directory (non-recursively).
*
* Called once _serverEntries and _localEntries are filled