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:
authorRobin Appelman <robin@icewind.nl>2018-12-10 19:20:45 +0300
committerRobin Appelman <robin@icewind.nl>2018-12-12 17:31:44 +0300
commitfe23285e445c9f452755c306814c6db1e6819d95 (patch)
tree11d121e519fcbcfbc8d9a3bbfc1155a939a80147 /lib/public
parent474c9fb8e5d2c628a2212a611ffe456c183ad2c0 (diff)
Add objectExists to objectstore interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
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);
}