Comment 4 for bug 671586

Revision history for this message
Cris Dywan (kalikiana) wrote :

So you basically wrote the same code once more. I would actually prefer a small function that takes a path name and a callback (delegate) to avoid the duplication and make the code clearer.
Also thinking of unified folders in the future, we could re-use the function to monitor any number of folders at once.