----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/125776/#review87350 -----------------------------------------------------------
src/file/unindexedfileindexer.cpp (line 65) <https://git.reviewboard.kde.org/r/125776/#comment59983> This is a silly thing, but do you think perhaps we should move this 'renameFilePath' call inside `replaceDocument`, and just add an extra operation? - Vishesh Handa On Oct. 24, 2015, 6:17 p.m., Pinak Ahuja wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/125776/ > ----------------------------------------------------------- > > (Updated Oct. 24, 2015, 6:17 p.m.) > > > Review request for Baloo and Vishesh Handa. > > > Repository: baloo > > > Description > ------- > > Since the inode remains same on moving, the fileId should be preserved. We > can simply check if the filePath in the db is same as the actual filePath to > check if file is moved and update the filePath if needed. This will also > handle renames. > > > Diffs > ----- > > src/file/unindexedfileindexer.cpp 6873047 > > Diff: https://git.reviewboard.kde.org/r/125776/diff/ > > > Testing > ------- > > > Thanks, > > Pinak Ahuja > >
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<