beagle r3684 - trunk/beagle/beagled/FileSystemQueryable



Author: dbera
Date: 2007-05-06 07:07:57 +0100 (Sun, 06 May 2007)
New Revision: 3684
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3684&view=rev

Modified:
   trunk/beagle/beagled/FileSystemQueryable/FileSystemQueryable.cs
   trunk/beagle/beagled/FileSystemQueryable/InternalUriManager.cs
Log:
Remove duplicate methods from FSQ and re-order some operations.
1) Always use AdditionGenerator and RemovalGenerator to add and remove files, even from HandleMoveEvent. Get rid of duplicate AddFile and RemoveFile, they were doing the same thing.
2) Make DetermineRequiredAction self-contained and make it also return the uid to be used in case re-index is needed. Add some more helper methods to UidManager. In the future, DetermineRequiredAction might be made atomic to prevent weird races.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]