~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Robert Collins
  • Date: 2005-09-30 02:54:51 UTC
  • mfrom: (1395)
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20050930025451-47b9e412202be44b
symlink and weaves, whaddya know

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        ## XXX: badly named; this isn't in the store at all
96
96
        return self.abspath(self.id2path(file_id))
97
97
 
 
98
 
 
99
    def id2abspath(self, file_id):
 
100
        return self.abspath(self.id2path(file_id))
 
101
 
98
102
                
99
103
    def has_id(self, file_id):
100
104
        # files that have been deleted are excluded
109
113
    
110
114
 
111
115
    def get_file_size(self, file_id):
112
 
        # is this still called?
113
 
        raise NotImplementedError()
 
116
        return os.path.getsize(self.id2abspath(file_id))
114
117
 
115
118
    def get_file_sha1(self, file_id):
116
119
        path = self._inventory.id2path(file_id)