aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-11-05 16:30:05 +0100
committerRobin Appelman <robin@icewind.nl>2020-11-24 15:16:58 +0100
commit9d4848e86383afd1ec49aa81f606f2042def2133 (patch)
tree164177856713c1b64fa303bd87a7d03da949291d /lib/public
parentf37155d28ba1bc805eeb3abd445d3d965ecb34bd (diff)
downloadnextcloud-server-9d4848e86383afd1ec49aa81f606f2042def2133.tar.gz
nextcloud-server-9d4848e86383afd1ec49aa81f606f2042def2133.zip
use in objectstore copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/ObjectStore/IObjectStore.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Files/ObjectStore/IObjectStore.php b/lib/public/Files/ObjectStore/IObjectStore.php
index 4925959d6c5..e9d948682f8 100644
--- a/lib/public/Files/ObjectStore/IObjectStore.php
+++ b/lib/public/Files/ObjectStore/IObjectStore.php
@@ -73,4 +73,12 @@ interface IObjectStore {
* @since 16.0.0
*/
public function objectExists($urn);
+
+ /**
+ * @param string $from the unified resource name used to identify the source object
+ * @param string $to the unified resource name used to identify the target object
+ * @return void
+ * @since 21.0.0
+ */
+ public function copyObject($from, $to);
}