nextcloud/lib/private/Files/Storage
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
..
PolyFill Update license headers 2019-12-05 15:38:45 +01:00
Wrapper Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
Common.php Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
CommonTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DAV.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
FailedStorage.php Update license headers 2019-12-05 15:38:45 +01:00
Flysystem.php Format code according to PSR2 2020-04-10 16:56:50 +02:00
Home.php Update license headers 2019-12-05 15:38:45 +01:00
Local.php Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
LocalTempFileTrait.php Update license headers 2019-12-05 15:38:45 +01:00
Storage.php Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
StorageFactory.php Update license headers 2019-12-05 15:38:45 +01:00
Temporary.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00