[Tracker] directory sizes



Hi,

I'm writing a general purpose filesystem browser which uses tracker
and could need some fast way of getting the size of a directory.
Ideally as fast as getting the size of a file.

Wouldn't it be possible to add this to tracker. Tracker allways knows
when a file size changes, so why not adding the size difference to all
directories up the hierarchy, when this happens.

This would make tracker ideal for filesystem housekeeping tools. These
could instantly show the 20 biggest files and directories or could
generate views like SequoiaView. And this without statting the whole
sub-tree.

Regards,
Peter
--
Peter Rullmann <peter AT p4n.net>     http://p4n.net     [ICQ: 22931645]
Richard-Wagner-Str. 72, 66111 Saarbruecken, Germany.     +49/681/9388281



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]