Module System.FSEvents

Inheritance graph
System._FSEvents System.FSEvents

Inherit _FSEvents

inherit System._FSEvents : _FSEvents

Description

The System.FSEvents module provides an interface to FSEvents. FSEvents is an API in Mac OS X which allows an application to register for notifications of changes to a given directory tree without forcing the application to continously poll the directory tree.

This module is designed for use in asynchronous, or backend mode. That is, rather than polling for changes, a function you specify will be called when events of interest occur.

Note

This module requires the presence and use of a CFRunLoop based Backend object, otherwise this module will not receive events from the OS. CFRunLoop based backends are avilable on Mac OS X 10.5 and higher.

See also

Pike.PollDeviceBackend.enable_core_foundation


Constant kFSEventStreamCreateFlagFileEvents

constant System.FSEvents.kFSEventStreamCreateFlagFileEvents

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamCreateFlagIgnoreSelf

constant System.FSEvents.kFSEventStreamCreateFlagIgnoreSelf

Description

Available in MacOS X 10.6 and newer.


Constant kFSEventStreamCreateFlagNoDefer

constant System.FSEvents.kFSEventStreamCreateFlagNoDefer


Constant kFSEventStreamCreateFlagNone

constant System.FSEvents.kFSEventStreamCreateFlagNone


Constant kFSEventStreamCreateFlagWatchRoot

constant System.FSEvents.kFSEventStreamCreateFlagWatchRoot


Constant kFSEventStreamEventFlagChangeOwner

constant System.FSEvents.kFSEventStreamEventFlagChangeOwner

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagEventIdsWrapped

constant System.FSEvents.kFSEventStreamEventFlagEventIdsWrapped


Constant kFSEventStreamEventFlagFinderInfoMod

constant System.FSEvents.kFSEventStreamEventFlagFinderInfoMod

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagHistoryDone

constant System.FSEvents.kFSEventStreamEventFlagHistoryDone


Constant kFSEventStreamEventFlagInodeMetaMod

constant System.FSEvents.kFSEventStreamEventFlagInodeMetaMod

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagIsDir

constant System.FSEvents.kFSEventStreamEventFlagIsDir

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagIsFile

constant System.FSEvents.kFSEventStreamEventFlagIsFile

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagIsSymlink

constant System.FSEvents.kFSEventStreamEventFlagIsSymlink

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagItemCreated

constant System.FSEvents.kFSEventStreamEventFlagItemCreated

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagItemModified

constant System.FSEvents.kFSEventStreamEventFlagItemModified

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagItemRemoved

constant System.FSEvents.kFSEventStreamEventFlagItemRemoved

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagKernelDropped

constant System.FSEvents.kFSEventStreamEventFlagKernelDropped


Constant kFSEventStreamEventFlagMount

constant System.FSEvents.kFSEventStreamEventFlagMount


Constant kFSEventStreamEventFlagMustScanSubDirs

constant System.FSEvents.kFSEventStreamEventFlagMustScanSubDirs


Constant kFSEventStreamEventFlagNone

constant System.FSEvents.kFSEventStreamEventFlagNone


Constant kFSEventStreamEventFlagRenamed

constant System.FSEvents.kFSEventStreamEventFlagRenamed

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventFlagRootChanged

constant System.FSEvents.kFSEventStreamEventFlagRootChanged


Constant kFSEventStreamEventFlagUnmount

constant System.FSEvents.kFSEventStreamEventFlagUnmount


Constant kFSEventStreamEventFlagUserDropped

constant System.FSEvents.kFSEventStreamEventFlagUserDropped


Constant kFSEventStreamEventFlagXattrMod

constant System.FSEvents.kFSEventStreamEventFlagXattrMod

Description

Available in MacOS X 10.7 and newer.


Constant kFSEventStreamEventIdSinceNow

constant System.FSEvents.kFSEventStreamEventIdSinceNow