Part of bzrlib.smart.server View In Hierarchy
Method | __init__ | Undocumented |
Method | set_up | Undocumented |
Method | tear_down | Undocumented |
Method | _expand_userdirs | Translate /~/ or /~user/ to e.g. /home/foo, using |
Method | _make_expand_userdirs_filter | Undocumented |
Method | _make_backing_transport | Chroot transport, and decorate with userdir expander. |
Method | _get_stdin_stdout | Undocumented |
Method | _make_smart_server | Undocumented |
Method | _change_globals | Undocumented |
If the translated path would fall outside base_path, or the path does not start with ~, then no translation is applied.
If the path is inside, it is adjusted to be relative to the base path.
e.g. if base_path is /home, and the expanded path is /home/joe, then the translated path is joe.