I'm beginning (finally!) to integrate the File System Events API
into my application. I'm looking for historical change
information. My application does the following:
Gets the historical event ID for date in the past using FSEventsGetLastEventIdForDeviceBeforeTime()
Creates a stream using
FSEventStreamCreateRelativeToDevice() passing the sinceWhen
event ID.
Schedule the stream with FSEventStreamScheduleWithRunLoop().
Start it with FSEventStreamScheduleWithRunLoop().
Since I want everything up to now, I then immediately call