/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/doc/api/transport.txt

Update for review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
The Transport API in bzrlib provides URL based access to network resources.
2
2
 
3
3
   >>> import os
4
 
   >>> import sys
5
4
   >>> from bzrlib.osutils import getcwd, dirname
6
5
   >>> from bzrlib.urlutils import local_path_from_url
7
6
   >>> import bzrlib.transport as transport
8
 
   >>> if sys.platform == 'win32':
9
 
   ...     root = transport.get_transport('file:///C:/')
10
 
   ... else:
11
 
   ...     root = transport.get_transport('file:///')
 
7
   >>> root = transport.get_transport("file:///")
12
8
   >>>
13
9
 
14
10
Each Transport instance represents a single logical directory.