D21694: [DocuementUrlDB] Avoid manipulation of the whole tree on trivial rename

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Jun 9 15:24:21 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, ngraham, astippich, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  In case a file or folder is renamed, only the "name" in the IdFilenameDB
  has to be updated, the IdTreeDB can be left unmodified.
  
  Currently, a rename has the same effect as removing the file/folder,
  eventually removing also its parents, and later adding the exact same
  items to the tree again (a rename does not effect the document IDs).

TEST PLAN
  1. disable indexer
  2. rename file/folder
  3. reenable indexer

REPOSITORY
  R293 Baloo

BRANCH
  documenturldb

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

AFFECTED FILES
  src/engine/documenturldb.h

To: bruns, #baloo, ngraham, astippich, poboiko
Cc: kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190609/7a91f7cb/attachment.html>


More information about the Kde-frameworks-devel mailing list