Function | prepare_tarball_item | Prepare a tarball item for exporting |
Function | export_tarball_generator | Export tree contents to a tarball. |
Function | tgz_exporter_generator | Export this tree to a new tar file. |
Function | tbz_exporter_generator | Export this tree to a new tar file. |
Function | plain_tar_exporter_generator | Export this tree to a new tar file. |
Function | tar_xz_exporter_generator | Undocumented |
Function | tar_lzma_exporter_generator | Export this tree to a new .tar.lzma file. |
Returns a (tarinfo, fileobj) tuple
Parameters | tree | Tree to export |
final_path | Final path to place item | |
entry | Entry to export | |
force_mtime | Option mtime to force, instead of using tree timestamps. |
Parameters | tree | Tree to export |
ball | Tarball to export to; it will be closed when writing is complete. | |
subdir | Sub directory to export | |
force_mtime | Option mtime to force, instead of using tree timestamps. | |
Returns | A generator that will repeatedly produce None as each file is emitted. The entire generator must be consumed to complete writing the file. |
dest
will be created holding the contents of this tree; if it
already exists, it will be clobbered, like with "tar -c".
dest
will be created holding the contents of this tree; if it
already exists, it will be clobbered, like with "tar -c".
dest
will be created holding the contents of this tree; if it
already exists, it will be clobbered, like with "tar -c".