diff options
author | Robin Appelman <robin@icewind.nl> | 2020-11-05 16:30:05 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-11-24 15:16:58 +0100 |
commit | 9d4848e86383afd1ec49aa81f606f2042def2133 (patch) | |
tree | 164177856713c1b64fa303bd87a7d03da949291d /lib/private/Files/ObjectStore/StorageObjectStore.php | |
parent | f37155d28ba1bc805eeb3abd445d3d965ecb34bd (diff) | |
download | nextcloud-server-9d4848e86383afd1ec49aa81f606f2042def2133.tar.gz nextcloud-server-9d4848e86383afd1ec49aa81f606f2042def2133.zip |
use in objectstore copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/ObjectStore/StorageObjectStore.php')
-rw-r--r-- | lib/private/Files/ObjectStore/StorageObjectStore.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/StorageObjectStore.php b/lib/private/Files/ObjectStore/StorageObjectStore.php index a7551385b34..acf46758956 100644 --- a/lib/private/Files/ObjectStore/StorageObjectStore.php +++ b/lib/private/Files/ObjectStore/StorageObjectStore.php @@ -93,4 +93,8 @@ class StorageObjectStore implements IObjectStore { public function objectExists($urn) { return $this->storage->file_exists($urn); } + + public function copyObject($from, $to) { + $this->storage->copy($from, $to); + } } |