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