Ejemplo n.º 1
0
def docroot_exists(path):
    p = _fixPath(C.documentRoot, relpath(path))
    return C.documentRootFS.exists(p)
Ejemplo n.º 2
0
def docroot_open(path):
    p = _fixPath(C.documentRoot, relpath(path))
    return C.documentRootFS.open(p)
Ejemplo n.º 3
0
def listdir(path):
    p = _fixPath(C.documentRoot, relpath(path))
    listing = C.documentRootFS.listdir(p)
    return listing
Ejemplo n.º 4
0
def current_component():
    return normpath(relpath(componentStack[topOfComponentStack].name))
Ejemplo n.º 5
0
def listdir(path):
    p=_fixPath(C.documentRoot, relpath(path))
    listing=C.documentRootFS.listdir(p)
    return listing
Ejemplo n.º 6
0
def current_component():
    return normpath(relpath(componentStack[topOfComponentStack].name))