From 52920b2d08759c5338149d6dd934c1b4ee294f12 Mon Sep 17 00:00:00 2001 From: wronny Date: Fri, 1 Dec 2023 10:08:00 +0100 Subject: [PATCH] added Method OCP\Files\Cache\ICache::getFolderContentsByIdExceptHidden Signed-off-by: wronny --- lib/public/Files/Cache/ICache.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/public/Files/Cache/ICache.php b/lib/public/Files/Cache/ICache.php index 1934cc24bd403..16c71654b51e6 100644 --- a/lib/public/Files/Cache/ICache.php +++ b/lib/public/Files/Cache/ICache.php @@ -82,6 +82,17 @@ public function getFolderContents($folder); */ public function getFolderContentsById($fileId); + /** + * get the metadata of all files stored in $folder except hidden files + * + * Only returns files one level deep, no recursion + * + * @param int $fileId the file id of the folder + * @return ICacheEntry[] + * @since 9.0.0 + */ + public function getFolderContentsByIdExceptHidden($fileId); + /** * store meta data for a file or folder * This will automatically call either insert or update depending on if the file exists