nextcloud/apps/files_external/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
..
AppInfo Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Command Add visibility to all constants 2020-04-10 16:54:27 +02:00
Config Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Controller Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Lib Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
Migration Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Service Add visibility to all constants 2020-04-10 16:54:27 +02:00
Settings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NotFoundException.php Update license headers 2019-12-05 15:38:45 +01:00
config.php Add visibility to all constants 2020-04-10 16:54:27 +02:00