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      (Filesystem-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to