code: def _get_paths_for_status(self, status):
          added, modified, deleted = self._changes_cache
          return sorted({
              'added': list(added),
              'modified': list(modified),
              'deleted': list(deleted)}[status]
          )