aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-14 11:26:29 +0100
committerGitHub <noreply@github.com>2019-01-14 11:26:29 +0100
commit5a27e54f4b6eb50b24ca8a6e4f77878b04e1c3fd (patch)
treec413f25054124afebea96ede701ffea688d04b6c /lib/public
parent8113dfd4e7587d829631f7656005b0d18897a3c6 (diff)
parentd6bf5d43841f8d80ed54137db75c8ca6d2396cf4 (diff)
downloadnextcloud-server-5a27e54f4b6eb50b24ca8a6e4f77878b04e1c3fd.tar.gz
nextcloud-server-5a27e54f4b6eb50b24ca8a6e4f77878b04e1c3fd.zip
Merge pull request #13032 from nextcloud/objectstore-write-exists
upload new files in objectstore to a .part path first
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/ObjectStore/IObjectStore.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/Files/ObjectStore/IObjectStore.php b/lib/public/Files/ObjectStore/IObjectStore.php
index 628fd5852da..83c4b1065d6 100644
--- a/lib/public/Files/ObjectStore/IObjectStore.php
+++ b/lib/public/Files/ObjectStore/IObjectStore.php
@@ -63,4 +63,13 @@ interface IObjectStore {
* @since 7.0.0
*/
public function deleteObject($urn);
+
+ /**
+ * Check if an object exists in the object store
+ *
+ * @param string $urn
+ * @return bool
+ * @since 16.0.0
+ */
+ public function objectExists($urn);
}