Skip to content

Commit

Permalink
added Method OCP\Files\Cache\ICache::getFolderContentsByIdExceptHidden
Browse files Browse the repository at this point in the history
Signed-off-by: wronny <github@wron.de>
  • Loading branch information
wronny committed Dec 1, 2023
1 parent d902486 commit 52920b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/public/Files/Cache/ICache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52920b2

Please sign in to comment.