summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-11-05 16:30:05 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-12-07 16:07:21 +0000
commit694032c54c85baf0bd8e37dfa907c9f136efc01b (patch)
treec57fa49ace225305ccb5e731e5e2dabf8613a4bd /lib/public
parentb9011c1d1d4098b8359ac4adabf2e83f20e53428 (diff)
downloadnextcloud-server-694032c54c85baf0bd8e37dfa907c9f136efc01b.tar.gz
nextcloud-server-694032c54c85baf0bd8e37dfa907c9f136efc01b.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);
}