nextcloud/lib/private
Robin Appelman 9735b5d61f
Add method to storage backends to get directory content with metadata
Currently you need to use `opendir` and then call `getMetadata` for
every file, which adds overhead because most storage backends already
get the metadata when doing the `opendir`.

While storagebackends can (and do) use caching to relief this problem,
this adds cache invalidation dificulties and only a limited number of
items are generally cached (to prevent memory usage exploding when
scanning large storages)

With this new methods storage backends can use the child metadata they
got from listing the folder to return metadata without having to keep
seperate caches.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-20 15:45:04 +02:00
..
Accounts Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Activity Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
App Add visibility to all constants 2020-04-10 16:54:27 +02:00
AppFramework Format code according to PSR2 2020-04-10 16:56:50 +02:00
Archive Add visibility to all constants 2020-04-10 16:54:27 +02:00
Authentication Add visibility to all constants 2020-04-10 16:54:27 +02:00
Avatar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
BackgroundJob Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Collaboration Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Command Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Comments Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Console Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Contacts/ContactsMenu Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DB Revert "Make sure MySQL is not saying 'this' = 'this ' is true" 2020-04-15 23:49:16 +02:00
Dashboard Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Add visibility to all constants 2020-04-10 16:54:27 +02:00
EventDispatcher Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Federation Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Files Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
FullTextSearch Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Format code according to PSR2 2020-04-10 16:56:50 +02:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http Check all remotes for local access 2020-04-14 18:56:06 +02:00
IntegrityCheck Add visibility to all constants 2020-04-10 16:54:27 +02:00
L10N Format code according to PSR2 2020-04-10 16:56:50 +02:00
Lock Use elseif instead of else if 2020-04-10 10:35:09 +02:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Add visibility to all constants 2020-04-10 16:54:27 +02:00
Mail Merge pull request #20447 from liamjack/fix/13287/welcome_email 2020-04-17 09:42:49 +02:00
Memcache Add visibility to all constants 2020-04-10 16:54:27 +02:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Preview Move to subfolders for preview files 2020-04-19 10:30:56 +02:00
Remote Add visibility to all constants 2020-04-10 16:54:27 +02:00
Repair Add visibility to all constants 2020-04-10 16:54:27 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Search Add visibility to all properties and move static keyword 2020-04-10 16:48:31 +02:00
Security fix credentialsManager documentation and ensure userId to be used as string 2020-04-15 19:34:23 +02:00
Session Add visibility to all constants 2020-04-10 16:54:27 +02:00
Settings Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
Setup Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Share Add visibility to all constants 2020-04-10 16:54:27 +02:00
Share20 Provide the proper language to the mailer 2020-04-16 09:04:13 +02:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Add visibility to all constants 2020-04-10 16:54:27 +02:00
Tagging Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater Add visibility to all constants 2020-04-10 16:54:27 +02:00
User Revert "Make sure MySQL is not saying 'this' = 'this ' is true" 2020-04-15 23:49:16 +02:00
legacy Provide the proper language to the mailer 2020-04-16 09:04:13 +02:00
AllConfig.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
AppConfig.php Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Remove space between switch case and colon 2020-04-09 16:17:53 +02:00
Config.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
ContactsManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Remove trailing whitespaces from comments 2020-04-09 16:09:23 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Installer.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LargeFileHelper.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Log.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfo.php Format code according to PSR2 2020-04-10 16:56:50 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Merge pull request #20422 from nextcloud/techdebt/format-control-structs-classes-methods 2020-04-10 16:38:23 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Repair.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Server.php Move to subfolders for preview files 2020-04-19 10:30:56 +02:00
ServerContainer.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Add visibility to all properties and move static keyword 2020-04-10 16:48:31 +02:00
Streamer.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SubAdmin.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Tags.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
TempManager.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
TemplateLayout.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
URLGenerator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00