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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-12-06 16:43:55 +0300
committerHannah von Reth <vonreth@kde.org>2021-12-09 12:37:51 +0300
commitb7e25e3f26785c3e3667471539234e5d4bafef9f (patch)
tree2b0557d131ae309693cb40a86d2841d71c69c9aa /src/common/vfs.h
parent1d8333344c120b79da9b0ad1a1a878b4ac448ea1 (diff)
Move dehydration into updateMetadata
Diffstat (limited to 'src/common/vfs.h')
-rw-r--r--src/common/vfs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/vfs.h b/src/common/vfs.h
index d2c768e8f..983c99910 100644
--- a/src/common/vfs.h
+++ b/src/common/vfs.h
@@ -164,13 +164,6 @@ public:
/// Create a new dehydrated placeholder. Called from PropagateDownload.
virtual OC_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
- /** Convert a hydrated placeholder to a dehydrated one. Called from PropagateDownlaod.
- *
- * This is different from delete+create because preserving some file metadata
- * (like pin states) may be essential for some vfs plugins.
- */
- virtual OC_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
-
/** Discovery hook: even unchanged files may need UPDATE_METADATA.
*
* For instance cfapi vfs wants local hydrated non-placeholder files to
@@ -291,7 +284,6 @@ public:
bool isHydrating() const override { return false; }
Result<void, QString> createPlaceholder(const SyncFileItem &) override { return {}; }
- Result<void, QString> dehydratePlaceholder(const SyncFileItem &) override { return {}; }
bool needsMetadataUpdate(const SyncFileItem &) override { return false; }
bool isDehydratedPlaceholder(const QString &) override { return false; }