find() API changes

May 30th, 2004 at 12:05 pm (3 years, 11 months ago) by Andi Vajda under chandlerdb

Because of syntactic overlap between path strings and uuid strings the find() API on Item and Repository had to be reworked.

- find() now only accepts a Path or a UUID instance argument. It no longer accepts strings.

- findPath() was added to Item and Repository and accepts a Path instance or a path string argument.

- findUUID() was added to Item and Repository and accepts a UUID instance or a uuid string argument.

All Chandler python code using find() was changed accordingly.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Reddit

Leave a Reply