~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-14 21:16:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1888.
  • Revision ID: john@arbash-meinel.com-20060714211623-fde89d41becd14a1
always read in sorted order, and return in requested order, but only cache what is currently out of order

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
    """
315
315
    Transport implementation for SFTP access.
316
316
    """
 
317
 
317
318
    _do_prefetch = _default_do_prefetch
 
319
    _max_readv_combine = 0 # Allow readv to collapse everything
 
320
    # TODO: jam 20060714 for sftp, it is even better to even collapse nearby 
 
321
    #       ranges and get extra data, in exchange for one less round trip
318
322
 
319
323
    def __init__(self, base, clone_from=None):
320
324
        assert base.startswith('sftp://')