nextcloud/apps/files_sharing/lib
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
..
Activity Add visibility to all constants 2020-04-10 16:54:27 +02:00
AppInfo Add visibility to all constants 2020-04-10 16:54:27 +02:00
BackgroundJob 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
Controller Also disallow ; in remote urls 2020-04-14 18:56:06 +02:00
Exceptions Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
External Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
Listener Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Middleware Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Migration Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Notification Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Settings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ShareBackend Add visibility to all constants 2020-04-10 16:54:27 +02:00
Cache.php Update license headers 2019-12-05 15:38:45 +01:00
Capabilities.php Update license headers 2019-12-05 15:38:45 +01:00
DeleteOrphanedSharesJob.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ExpireSharesJob.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Helper.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Hooks.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ISharedStorage.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MountProvider.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Scanner.php Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
SharedMount.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SharedStorage.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Updater.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00