nextcloud/lib/private/Files
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
..
AppData Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
Config Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Mount Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Node Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Notify Update license headers 2019-12-05 15:38:45 +01:00
ObjectStore Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
Search Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SimpleFS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Storage Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
Stream Run cs:fix and fix HashWrapper code 2020-04-15 14:08:56 +02:00
Type Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Utils Add visibility to all constants 2020-04-10 16:54:27 +02:00
FileInfo.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
Filesystem.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
View.php Update View.php 2020-04-15 19:10:06 +01:00