/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
The Transport API in bzrlib provides URL based access to network resources.
 
1
The Transport API in breezy provides URL based access to network resources.
2
2
 
3
3
   >>> import os
4
4
   >>> import sys
5
 
   >>> from bzrlib.osutils import getcwd, dirname
6
 
   >>> from bzrlib.urlutils import local_path_from_url
7
 
   >>> import bzrlib.transport as transport
 
5
   >>> from breezy.osutils import getcwd, dirname
 
6
   >>> from breezy.urlutils import local_path_from_url
 
7
   >>> import breezy.transport as transport
8
8
   >>> if sys.platform == 'win32':
9
9
   ...     root = transport.get_transport_from_url('file:///C:/')
10
10
   ... else: