• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FSEventStream and rename notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: FSEventStream and rename notifications
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
    • Re: FSEventStream and rename notifications
      • From: tridiak <email@hidden>
  • Prev by Date: automount: SMB share not indexed/searchable
  • Next by Date: Re: FSEventStream and rename notifications
  • Previous by thread: automount: SMB share not indexed/searchable
  • Next by thread: Re: FSEventStream and rename notifications
  • Index(es):
    • Date
    • Thread