File System Events
Get notifications when the contents of a directory hierarchy change.
Overview
The file system events API provides a way for your application to ask for notification when the contents of a directory hierarchy are modified. For example, your application can use this to quickly detect when the user modifies a file within a project bundle using another application.
It also provides a lightweight way to determine whether the contents of a directory hierarchy have changed since your application last examined them. For example, a backup application can use this to determine what files have changed since a given time stamp or a given event ID.
Topics
Functions
FSEventStreamCopyDescription(_:)FSEventStreamCopyPathsBeingWatched(_:)FSEventStreamCreate(_:_:_:_:_:_:_:)FSEventStreamCreateRelativeToDevice(_:_:_:_:_:_:_:_:)FSEventStreamFlushAsync(_:)FSEventStreamFlushSync(_:)FSEventStreamGetDeviceBeingWatched(_:)FSEventStreamGetLatestEventId(_:)FSEventStreamInvalidate(_:)FSEventStreamRelease(_:)FSEventStreamRetain(_:)FSEventStreamScheduleWithRunLoop(_:_:_:)FSEventStreamSetDispatchQueue(_:_:)FSEventStreamSetExclusionPaths(_:_:)FSEventStreamShow(_:)FSEventStreamStart(_:)FSEventStreamStop(_:)FSEventStreamUnscheduleFromRunLoop(_:_:_:)FSEventsCopyUUIDForDevice(_:)FSEventsGetCurrentEventId()FSEventsGetLastEventIdForDeviceBeforeTime(_:_:)FSEventsPurgeEventsForDeviceUpToEventId(_:_:)
Enumerations
Data Types
FSEventStreamCallbackFSEventStreamCreateFlagsFSEventStreamEventFlagsFSEventStreamEventIdFSEventStreamRef