845
845
parent_id is the transaction id of the parent directory of the file.
846
846
contents is an iterator of bytestrings, which will be used to produce
850
851
trans_id = self._new_entry(name, parent_id, file_id)
851
854
self.create_file(contents, trans_id)
852
855
if executable is not None:
853
856
self.set_executability(executable, trans_id)