~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/fakevfat.py

  • Committer: John Arbash Meinel
  • Date: 2007-05-04 18:59:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2643.
  • Revision ID: john@arbash-meinel.com-20070504185936-1mjdoqmtz74xe5mg
A C implementation of _fields_to_entry_0_parents drops the time from 400ms to 330ms for a 21k-entry tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    which actually stored the files.
65
65
    """
66
66
 
67
 
    def _can_roundtrip_unix_modebits(self):
68
 
        """See Transport._can_roundtrip_unix_modebits()."""
69
 
        return False
70
 
 
71
67
    @classmethod
72
68
    def _get_url_prefix(self):
73
69
        """Readonly transport decorators are invoked via 'vfat+'"""
92
88
    def has(self, relpath):
93
89
        return self._decorated.has(self._squash_name(relpath))
94
90
 
95
 
    def _readv(self, relpath, offsets):
 
91
    def readv(self, relpath, offsets):
96
92
        return self._decorated.readv(self._squash_name(relpath), offsets)
97
93
 
98
94
    def put_file(self, relpath, f, mode=None):