Part of bzrlib.transport.pathfilter View In Hierarchy
It holds the backing_transport and filter_func for PathFilteringTransports. All paths will be passed through filter_func before calling into the backing_transport.
Note that paths returned from the backing transport are not altered in anyway. So, depending on the filter_func, PathFilteringTransports might not conform to the usual expectations of Transport behaviour; e.g. 'name' in t.list_dir('dir') might not imply t.has('dir/name') is True! A filter that merely prefixes a constant path segment will be essentially transparent, whereas a filter that does rot13 to paths will break expectations and probably cause confusing errors. So choose your filter_func with care.
|Method||start_server||Setup the server to service requests.|
|Method||stop_server||Remove the server and cleanup any resources it owns.|
|filter_func||a callable that takes paths, and translates them into paths for use with the backing transport.|