I am using FSEventStreamRef to register for file events on a particular directory. Does FSEventStreamRef guarantee that the order of events correspond to the order in which the changes are made to the File system?
For example
1) I create a new folder with name 'untitled folder' 2) I rename this newly created folder to 'MyFolder'
Can I safely assume that I would get 2 events (in the below order)
First corresponding to the new folder create having the file name as 'untitled folder' Second event with kFSEventStreamEventFlagItemRenamed flag set and having file Path as 'MyFolder'