134
143
Contents is an iterator of strings, all of which will be written
135
144
to the target destination.
137
unique_add(self._new_contents, trans_id, ('file', contents))
139
152
def create_directory(self, trans_id):
140
153
"""Schedule creation of a new directory.
144
unique_add(self._new_contents, trans_id, ('directory',))
146
160
def create_symlink(self, target, trans_id):
147
161
"""Schedule creation of a new symbolic link.