[DocumentUrlDB] Avoid manipulation of the whole tree on trivial rename
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:
- disable indexer
- rename file/folder
- reenable indexer
Reviewers: Baloo, ngraham, astippich, poboiko
Reviewed By: Baloo, ngraham
Subscribers: kde-frameworks-devel
Tags: Frameworks, Baloo
Differential Revision: https://phabricator.kde.org/D21694