171
171
return codecs.getreader('utf-8')(self._transport.get(relpath))
174
175
def put(self, path, file):
177
178
:param path: The path to put the file, relative to the .bzr control
181
184
self._transport.put_file(self._escape(path), file, mode=self._file_mode)
184
188
def put_bytes(self, path, a_string):
185
189
"""Write a string of bytes.
187
191
:param path: The path to put the bytes, relative to the transport root.
190
196
self._transport.put_bytes(self._escape(path), a_string,