equal
deleted
inserted
replaced
317 self._changes = changes |
317 self._changes = changes |
318 return changes |
318 return changes |
319 |
319 |
320 @property |
320 @property |
321 def files(self): |
321 def files(self): |
|
322 if self._cpsd: |
|
323 return sorted(self.changes.touched) |
322 off = self._offsets |
324 off = self._offsets |
323 if off[2] == off[3]: |
325 if off[2] == off[3]: |
324 return [] |
326 return [] |
325 |
327 |
326 return self._text[off[2] + 1 : off[3]].split(b'\n') |
328 return self._text[off[2] + 1 : off[3]].split(b'\n') |