D19887: Proposal for KFileItem to skip stat()

Robert Hoffmann noreply at phabricator.kde.org
Tue Mar 19 16:38:08 GMT 2019


hoffmannrobert created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
hoffmannrobert requested review of this revision.

REVISION SUMMARY
  This adds a KFileItem constructor for passing a boolean
  skipStat. If true, KFileItemPrivate::init(),
  KFileItem::determineMimeType() and KFileItem::currentMimeType()
  won't call QT_LSTAT or read the file.
  
  See https://phabricator.kde.org/D19784

REPOSITORY
  R241 KIO

BRANCH
  add_skipStat

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

AFFECTED FILES
  src/core/kfileitem.cpp
  src/core/kfileitem.h

To: hoffmannrobert
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190319/b99d078a/attachment.html>


More information about the Kde-frameworks-devel mailing list