-----Original Message----- From: julian@zereau.net [mailto:julian@zereau.net] Sent: Thursday, April 08, 1999 12:38 PM To: zope-dev@zope.org Subject: [Zope-dev] disk usage of folder and subtree?
I need to know how to find the disk usage in the Zope database of a given Zope folder and it's subtree.
This isn't implimented. We have tought about the possiblities of a quota mechanism (which is harder than it sounds, because of the overhead of checking size limits on *every* request), but it sounds like what your looking for is the Zope equivalent of the UINX 'df' command. You can take a look at the find machinery, and then add a __len__ method to *every* object and put the two together to make a 'df' like method for OFS.Folder. Good Luck! :) -Michel
--- Julian Morrison Programmer (Zereau Ltd)
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://www.zope.org/mailman/listinfo/zope-dev
(For non-developer, user-level issues, use the companion list, zope@zope.org, http://www.zope.org/mailman/listinfo/zope )