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> |
||
---|---|---|
.. | ||
Wrapper | ||
AbstractCacheEvent.php | ||
Cache.php | ||
CacheEntry.php | ||
CacheQueryBuilder.php | ||
FailedCache.php | ||
HomeCache.php | ||
HomePropagator.php | ||
MoveFromCacheTrait.php | ||
Propagator.php | ||
QuerySearchHelper.php | ||
Scanner.php | ||
Storage.php | ||
StorageGlobal.php | ||
Updater.php | ||
Watcher.php |