module documentation
Undocumented
Function | build |
Build a set of files/directories, as described by the spec. |
Function | create |
Undocumented |
Function | _ |
Undocumented |
Build a set of files/directories, as described by the spec. Each key represents a pathname, and the value represents the content. Content may be a nested directory. >>> spec = { ... 'README.txt': "A README file", ... "foo": { ... "__init__.py": "", ... "bar": { ... "__init__.py": "", ... }, ... "baz.py": "# Some code", ... } ... } >>> tmpdir = getfixture('tmpdir') >>> build(spec, tmpdir)