Part of lp.codehosting
The Bazaar Transport is special in two ways:
- It implements two methods
writeChunk
andlocal_realPath
(see theFatLocalTransport
class for a description of these)- Every transport method returns Deferreds and does not block.
We call such a transport a "Twisted Transport".
Class | FatLocalTransport | A Bazaar transport that also implements writeChunk and local_realPath. |
Function | with_sftp_error | Decorator used to translate Bazaar errors into SFTP errors. |
Class | DirectoryListing | Class to satisfy openDirectory return interface. |
Class | TransportSFTPFile | An implementation of ISFTPFile that backs onto a Bazaar transport. |
Function | avatar_to_sftp_server | Undocumented |
Class | TransportSFTPServer | An implementation of ISFTPServer that backs onto a Bazaar transport. |
Function | _get_transport_for_dir | Undocumented |
This assumes that the function being decorated returns a Deferred.
See TransportSFTPServer.translateError
for the details of the
translation.