SCEvents 0.1.4
SCEvents 0.1.4 is now available for download. This small update fixes the following:
- An issue relating to the removal of an event path's trailing slash.
- An issue that prevented external drives from being ejected even after
stopWatchingPaths;had been called.
It also includes the new method streamDescription; for debugging purposes. Internally this method is calling FSEvents' FSEventStreamCopyDescription() function, which returns something along the lines of the following:
FSEventStreamRef @ 0x1036a0:
allocator = 0xa0474ee0
callback = 0x2e92
context = {0, 0x1050f0, 0x0, 0x0, 0x0}
numPathsToWatch = 1
pathsToWatch = 0xa0474ee0
pathsToWatch[0] = '/Users/stuart'
latestEventId = -1
latency = 3000000 (microseconds)
flags = 0x00000005
runLoop = 0x105db0
runLoopMode = 0xa0469c68
Many thanks to Pico Mitchell for providing valuable feedback that led to these issues being identified. Cheers Pico.