Comment 41 for bug 602211

Revision history for this message
Seif Lotfy (seif) wrote :

I think it easy for clients to determine subjects that have been deleted by calling exists on the uri. Of course we can detect delete events from nautilus too and thusly change the "current_uri" for it.

But again to the solution for solving "moved" files. The solution proposed by Mikkel (modified by me) could make things messy.
Once a file is moved we have to query on both subject_current_uri and subject_uri. right?

So lets say I have a file that has been moved from /home/seif/foo to /home/seif/bar. This means I query for all events where subject_uri = /home/seif/foo so I get all results until the point it was moved, right? And if I ask for /home/seif/bar I get all events with
subject_uri = /home/seif/foo as well as all subject_uri = /home/seif/bar ... ?