D23420: Use solid to check if a KFileItem is located on a network mount

Stefan BrĂ¼ns noreply at phabricator.kde.org
Tue Sep 10 19:25:57 BST 2019


bruns added a comment.


  Solid should be quite fine. When queried for devices providing 'Solid::DeviceInterface::NetworkShare', it will only use the fstab backend, which does not block and only reparses fstab/mtab when these change.
  
  There are some unnecessary QString constructions in the fstab backend, but these are easily solvable.
  
  For better performance, a global static cache with the network filepath()s would be an option.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D23420

To: meven, dfaure, #frameworks
Cc: bruns, broulik, anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190910/da1f2b2a/attachment.html>


More information about the Kde-frameworks-devel mailing list