Part of bzrlib.smart.vfs View In Hierarchy
Known subclasses: bzrlib.smart.vfs.AppendRequest, bzrlib.smart.vfs.DeleteRequest, bzrlib.smart.vfs.GetRequest, bzrlib.smart.vfs.HasRequest, bzrlib.smart.vfs.IterFilesRecursiveRequest, bzrlib.smart.vfs.ListDirRequest, bzrlib.smart.vfs.MkdirRequest, bzrlib.smart.vfs.MoveRequest, bzrlib.smart.vfs.PutNonAtomicRequest, bzrlib.smart.vfs.PutRequest, bzrlib.smart.vfs.ReadvRequest, bzrlib.smart.vfs.RenameRequest, bzrlib.smart.vfs.RmdirRequest, bzrlib.smart.vfs.StatRequest
VFS requests are disabled if vfs_enabled() returns False.
Method | translate_client_path | Translate a path received from a network client into a local |
Method | _check_enabled | Raises DisabledMethod if this method is disabled. |
Inherited from SmartServerRequest:
Method | __init__ | Constructor. |
Method | do | Mandatory extension point for SmartServerRequest subclasses. |
Method | execute | Public entry point to execute this request. |
Method | do_body | Called if the client sends a body with the request. |
Method | do_chunk | Called with each body chunk if the request has a streamed body. |
Method | do_end | Called when the end of the request has been received. |
Method | setup_jail | Undocumented |
Method | teardown_jail | Undocumented |
Method | transport_from_client_path | Get a backing transport corresponding to the location referred to by |
All paths received from the client must be translated.
Parameters | client_path | the path from the client. |
Returns | a relpath that may be used with self._backing_transport (unlike the untranslated client_path, which must not be used with the backing transport). |