|
abspath(*relpath,
**base)
convert relative path to absolute path based (by default) on
applications_parent |
source code
|
|
|
listdir(path,
expression=' ^.+$ ' ,
drop=True,
add_dirs=True)
like os.listdir() but you can specify a regex pattern to filter
files. |
source code
|
|
|
|
|
|
|
|
|
tar(file,
dir,
expression=' ^.+$ ' )
tars dir into file, only tars file that match expression |
source code
|
|
|
|
|
|
|
w2p_unpack(filename,
path,
delete_tar=True) |
source code
|
|
|
|
|
w2p_unpack_plugin(filename,
path,
delete_tar=True) |
source code
|
|
|
|
|
|
|
get_session(request,
other_application=' admin ' )
checks that user is authorized to access other_application |
source code
|
|
|
check_credentials(request,
other_application=' admin ' )
checks that user is authorized to access other_application |
source code
|
|
|
|
|
copystream(src,
dest,
size,
chunk_size=100000)
this is here because I think there is a bug in
shutil.copyfileobj |
source code
|
|