Version: 1.0

Posted: 2006-08-04

Build Requirements: Xcode 2.3

Runtime Requirements: 10.5

View Source Code:

Download Sample (“Watcher.zip”, 30.4K)
Download Sample (“Watcher.dmg”, 85.6K)



Description

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.

Document Revision History

Date Notes
2006-08-04Uses FSEvents to monitor a directory hierarchy to keep track of its total size

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.