> On Oct. 27, 2015, 6:26 p.m., Vishesh Handa wrote: > > src/engine/transaction.h, line 120 > > <https://git.reviewboard.kde.org/r/125776/diff/2/?file=412815#file412815line120> > > > > I'm a little confused. Isn't the metadatamover using this method? > > > > $ ack renameFilePath > > src/file/metadatamover.cpp > > 116: tr->renameFilePath(id, job.document());
oh crap, how did I miss this. How did this compile :/ - Pinak ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/125776/#review87537 ----------------------------------------------------------- On Oct. 26, 2015, 8:16 a.m., Pinak Ahuja wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/125776/ > ----------------------------------------------------------- > > (Updated Oct. 26, 2015, 8:16 a.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/engine/documentoperations.h 6382e53 > src/engine/transaction.h 2ae052e > src/engine/transaction.cpp f3c0f4c > src/engine/writetransaction.cpp ae27ad9 > 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 <<