Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-01-14 13:29:18 +0300
committerGitHub <noreply@github.com>2019-01-14 13:29:18 +0300
commit412d6a4a24b2a8161f35ee3c4eabf5e3c08573f1 (patch)
treef66cd2b0a8e3622fa3842b65be4c4f6ab4c3e6d2 /lib/public
parentfb9f5ad66b2ce0cc4472e0bfd8fd16fa3b291ec0 (diff)
parent2d2de36baf77be24d9df236b50a8d7200a7587bc (diff)
Merge pull request #13036 from nextcloud/objectstore-write-exists-15
[15] 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..1425188b54d 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 15.0.1
+ */
+ public function objectExists($urn);
}