nextcloud/apps/files_sharing/lib/External
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
..
Cache.php Update license headers 2019-12-05 15:38:45 +01:00
Manager.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Mount.php Update license headers 2019-12-05 15:38:45 +01:00
MountProvider.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Scanner.php Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
Storage.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Watcher.php Update license headers 2019-12-05 15:38:45 +01:00