Part of lp.codehosting.vfs View In Hierarchy
This implements a few hooks to translate filesystem operations (such as making a certain kind of directory) into Launchpad operations (such as creating a branch in the database).
It also converts the Launchpad-specific translation errors (such as 'not a valid branch path') into Bazaar errors (such as 'no such file').
Method | mkdir | Undocumented |
Method | rename | Undocumented |
Method | rmdir | Undocumented |
Inherited from AsyncVirtualTransport:
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 | open_write_stream | Undocumented |
Method | put_file | Undocumented |
Method | local_realPath | Undocumented |
Method | readv | 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, |