FSEventStream and rename notifications
FSEventStream and rename notifications
- Subject: FSEventStream and rename notifications
- From: tridiak <email@hidden>
- Date: Sat, 05 Mar 2016 20:07:08 +1300
I have a FSEventStream which notifies me of name changes in a hierarchy. I noticed when I get the name change of an item that it is sent twice. The old name and the new name. Also noticed the old name has an FSEventStreamEventId of X and the new name has FSEventStreamEventId of X+1. I have tried with multiple file renames (before the next latency callback), and the new names' ID seems to be always +1 greater than the old names' ID.
My question : is the ID of the new name always guaranteed to +1 the ID of the old name?
If it is, it will make things much easier. There is no documentation in headers or docs indicating such.
Mark |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden