Part of lp.codehosting.vfs.transport View In Hierarchy
Known subclasses: lp.codehosting.vfs.__init__.AsyncLaunchpadTransport
Assumes that it has a 'server' which implements 'translateVirtualPath'. This method is expected to take an absolute virtual path and translate it into a real transport and a path on that transport.
Method | __init__ | Undocumented |
Method | external_url | Undocumented |
Method | abspath | Undocumented |
Method | append_file | Undocumented |
Method | clone | Undocumented |
Method | delete | Undocumented |
Method | delete_tree | Undocumented |
Method | get | Undocumented |
Method | get_bytes | Undocumented |
Method | has | Undocumented |
Method | iter_files_recursive | Undocumented |
Method | listable | Undocumented |
Method | list_dir | Undocumented |
Method | lock_read | Undocumented |
Method | lock_write | Undocumented |
Method | mkdir | Undocumented |
Method | open_write_stream | Undocumented |
Method | put_file | Undocumented |
Method | local_realPath | Undocumented |
Method | readv | Undocumented |
Method | rename | Undocumented |
Method | rmdir | Undocumented |
Method | stat | Undocumented |
Method | writeChunk | Undocumented |
Method | _abspath | Return the absolute, escaped path to relpath without the schema. |
Method | _getUnderlyingTransportAndPath | Return the underlying transport and path for relpath . |
Method | _translateError | Translate 'failure' into something suitable for a transport. |
Method | _call | Call a method on the backing transport, translating relative, |
relpath
.This method is called as an errback by _call
. Use it to translate
errors from the server into something that users of the transport
might expect. This could include translating vfs-specific errors into
bzrlib errors (e.g. "couldn't translate" into NoSuchFile
) or
translating underlying paths into virtual paths.
Parameters | failure | A twisted.python.failure.Failure . |
If 'relpath' translates to a path that we only have read-access to, then the method will be called on the backing transport decorated with 'readonly+'.