Mac OS X Reference Library Apple Developer
Search

Watcher

Last Revision:
Version 1.4, 2007-06-08
Simplified the code by eliminating custom logging code and unnecessary command line arguments.
(Full Revision History)
Build Requirements:
Xcode 3.0
Runtime Requirements:
Mac OS X 10.5

Watcher is a simple demonstration of the FSEvents API. It monitors a directory hierarchy and keeps track of the total size of the data contained in it. When a directory inside it changes, it recalculates the size of that directory and updates the total size.




Last updated: 2007-06-08

Did this document help you? Yes It's good, but... Not helpful...