diff options
Diffstat (limited to 'src/common/vfs.h')
-rw-r--r-- | src/common/vfs.h | 8 |
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; } |