~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-29 07:16:19 UTC
  • Revision ID: mbp@sourcefrog.net-20050329071619-a42d323e52dfe5dd
deleteĀ obsoleteĀ Tree.file_kind()

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
            return '?'
175
175
 
176
176
 
177
 
    def file_kind(self, filename):
178
 
        if isfile(self.abspath(filename)):
179
 
            return 'file'
180
 
        elif isdir(self.abspath(filename)):
181
 
            return 'directory'
182
 
        else:
183
 
            return 'unknown'
184
 
 
185
 
 
186
177
    def list_files(self):
187
178
        """Recursively list all files as (path, class, kind, id).
188
179