def changed_files(self):
    """Determines the files changed according to SCM/workspace and options."""
    if self._diffspec:
      return self._workspace.changes_in(self._diffspec)
    else:
      since = self._changes_since or self._scm.current_rev_identifier()
      return self._workspace.touched_files(since)
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/task/changed_file_task_mixin.py/ChangeCalculator.changed_files/original