Copyright 2005 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/
Functions:
|
Globals:
|
path = destination repo path (an existing Container) src = file system source path (a directory) must be a valid absolute URI if srcIsUri is True (default) must be a local path if srcIsUri is False fileMap = mapping of filename extensions to resource classes A tree like /root/dir1/dir2 will be returned as a list like ['/root', '/root/dir1', '/root/dir1/dir2']. Files in each directory will be listed immediately following that directory. So files in dir1 will come before the entry for dir2. Directories are processed breadth-first. path = destination repo path (an existing Container) src = file system source path (a directory) fileMap = mapping of filename extensions to resource classes resources = list of resource objects to append to
It optionally accepts a 'file' URI for src, and verifies that src refers to a directory. It does not accept an initial list of resources to append to.