From 6c9f2644cf8bac151b9af743802eb72a51278e8b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 10 Dec 2018 17:20:45 +0100 Subject: Add objectExists to objectstore interface Signed-off-by: Robin Appelman --- lib/public/Files/ObjectStore/IObjectStore.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/public/Files/ObjectStore') 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); } -- cgit v1.2.3