[Zope3-dev] Zope's PathIndex 'level' argument

Steve Alexander steve@cat-box.net
Mon, 25 Nov 2002 19:27:21 +0000


I'm implementing the functionality of a PathIndex for Zope 3.

In Zope 2, when querying a PathIndex, you can give it an optional 
'level' argument in addition to the base-path that you're interested in.

Does anyone use this 'level' argument? What are its use-cases?

The level is 0 by default. There's a comment in the code saying that a 
negative level doesn't work yet, but there appears to be code that 
implements that case.

If anyone does have a use for the 'level' argument, is there a use-case 
for supporting negative levels.

(I'm deliberately not describing what 'level' does here.)

--
Steve Alexander