~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Robert Collins
  • Date: 2008-09-23 23:28:27 UTC
  • mto: (3696.4.15 process-entry-optimised)
  • mto: This revision was merged to the branch mainline in revision 3731.
  • Revision ID: robertc@robertcollins.net-20080923232827-vpd4xsif8x8op6i3
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1219
1219
 
1220
1220
        :param prefix: A utf8 prefix to be preprended to the path basenames.
1221
1221
        :param top: A natively encoded path to read.
1222
 
        :return: A sorted list of the directories contents. Each item contains:
 
1222
        :return: A list of the directories contents. Each item contains:
1223
1223
            (utf8_relpath, utf8_name, kind, lstatvalue, native_abspath)
1224
1224
        """
1225
1225
        raise NotImplementedError(self.read_dir)
1565
1565
            file_kind_from_stat_mode = UTF8DirReader().kind_from_mode
1566
1566
        except ImportError:
1567
1567
            from bzrlib._readdir_py import (
1568
 
                _kind_from_mode as _file_kind_from_stat_mode
 
1568
                _kind_from_mode as file_kind_from_stat_mode
1569
1569
                )
1570
1570
    return file_kind_from_stat_mode(mode)
1571
1571
file_kind_from_stat_mode = file_kind_from_stat_mode_thunk