[File API: Directories and System] callbacks or events

Hi all,

the current "File API: Directories and System" seems to use
callbacks and not events, yet other
File APIs (the ones for read and write) use events.
That is quite major inconsistency in the APIs.
IIRC there was already some discussion about which approach to use
when the API for read was designed and it was decided that events should 
be used.

Using events would make it rather easy to track moves, copies etc, of a
file. Just set the event listeners when the entry is first time
accessed, and then you get notified whenever the file is moved etc.

-Olli

Received on Friday, 11 February 2011 15:43:41 UTC