aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Cache/IUpdater.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/Cache/IUpdater.php')
-rw-r--r--lib/public/Files/Cache/IUpdater.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/Files/Cache/IUpdater.php b/lib/public/Files/Cache/IUpdater.php
index 3c2bc69715c..2bc702114b4 100644
--- a/lib/public/Files/Cache/IUpdater.php
+++ b/lib/public/Files/Cache/IUpdater.php
@@ -58,4 +58,11 @@ interface IUpdater {
* @since 9.0.0
*/
public function renameFromStorage(IStorage $sourceStorage, $source, $target);
+
+ /**
+ * Copy a file or folder in the cache and update the size, etag and mtime of the parent folders
+ *
+ * @since 31.0.0
+ */
+ public function copyFromStorage(IStorage $sourceStorage, string $source, string $target): void;
}