diff options
author | wronny <github@wron.de> | 2023-12-01 10:08:00 +0100 |
---|---|---|
committer | wronny <github@wron.de> | 2023-12-01 10:08:05 +0100 |
commit | 52920b2d08759c5338149d6dd934c1b4ee294f12 (patch) | |
tree | d78199442f2758755149ef7d069b954f9dcd081b | |
parent | d902486c53456d9800dd9cc7471039c94552382c (diff) | |
download | nextcloud-server-optionally-hide-hidden-files-in-public-share-access.tar.gz nextcloud-server-optionally-hide-hidden-files-in-public-share-access.zip |
added Method OCP\Files\Cache\ICache::getFolderContentsByIdExceptHiddenoptionally-hide-hidden-files-in-public-share-access
Signed-off-by: wronny <github@wron.de>
-rw-r--r-- | lib/public/Files/Cache/ICache.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/public/Files/Cache/ICache.php b/lib/public/Files/Cache/ICache.php index 1934cc24bd4..16c71654b51 100644 --- a/lib/public/Files/Cache/ICache.php +++ b/lib/public/Files/Cache/ICache.php @@ -83,6 +83,17 @@ interface ICache { 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 * |