b.e.dir_exporter : module documentation

Part of bzrlib.export

Export a bzrlib.tree.Tree to a new or empty directory.
Function dir_exporter_generator Return a generator that exports this tree to a new directory.
def dir_exporter_generator(tree, dest, root, subdir=None, force_mtime=None, fileobj=None):
Return a generator that exports this tree to a new directory.

dest should either not exist or should be empty. If it does not exist it will be created holding the contents of this tree.

ParametersfileobjIs not used in this exporter
NoteIf the export fails, the destination directory will be left in an incompletely exported state: export is not transactional.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.