On Thu, Dec 11, 2003 at 11:03:35PM -0500, Jim Fulton wrote:
> 3. The hard part is walking the object tree.  You will need a function that,
>    given an object, will return the oids of the objects it references.
>    Perhaps Jeremy can help you with that.

Perhaps some of the zodb utilities contain code that might be
useful as a starting point?
fsrefs.py, checkbtrees.py... 

> 5. You will want to keep a dictionary of the oids visited, just in case 
> there are
>    any cyles.

I believe the version of checkbtrees.py in cvs now does that.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's PENGUIN FINALE!
(random hero from isometric.spaceninja.com)

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to