The source project of this merge request has been removed.
KFileItem: make isSlow non-blocking, make SkipMimeTypeFromContent skip only on slow fs
Make KMountPoint::List::findByPath accept a flag to make it non-blocking when the path is on a potentialy unresponsive network fs. When it occurs, it will return the KMountPoint for this network drive instead of stating it and recursing into it.
Change KFileItem::isSlow to make it use a cache of network mounts that is refreshed using this new flag, making it non-blocking.
Finally, make SkipMimeTypeFromContent skip mimetype determination in isDir only on slow drives.
Previous diff: https://phabricator.kde.org/D26407
BUG: 401579 FIXED-IN: 5.76
Reviewers: #frameworks @ngraham @broulik @dfaure @cfeck @anthonyfieroni
Edited by Méven Car