e63d4aed345e9b29081e0361d30ea6b9d8fa24c8,src/python/pants/base/scm_project_tree.py,ScmProjectTree,isfile,#ScmProjectTree#Any#,41

Before Change


    return self._reader.isdir(self._scm_relpath(relpath))

  def isfile(self, relpath):
    return self._reader.isfile(self._scm_relpath(relpath))

  def exists(self, relpath):
    return self._reader.exists(self._scm_relpath(relpath))

After Change


  def __eq__(self, other):
    return (
      (type(other) == type(self)) and
      (self.build_root == other.build_root) and
      (self._scm == other._scm) and
      (self._rev == other._rev))

  def __ne__(self, other):
    return not self.__eq__(other)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: e63d4aed345e9b29081e0361d30ea6b9d8fa24c8
Time: 2016-04-27
Author: yujieproject@gmail.com
File Name: src/python/pants/base/scm_project_tree.py
Class Name: ScmProjectTree
Method Name: isfile


Project Name: pantsbuild/pants
Commit Name: c5d68be852b280323a1a2176905a16b5858efdcf
Time: 2016-04-26
Author: yujieproject@gmail.com
File Name: src/python/pants/base/scm_project_tree.py
Class Name: ScmProjectTree
Method Name: exists


Project Name: pantsbuild/pants
Commit Name: c5d68be852b280323a1a2176905a16b5858efdcf
Time: 2016-04-26
Author: yujieproject@gmail.com
File Name: src/python/pants/base/scm_project_tree.py
Class Name: ScmProjectTree
Method Name: isfile


Project Name: pantsbuild/pants
Commit Name: e63d4aed345e9b29081e0361d30ea6b9d8fa24c8
Time: 2016-04-27
Author: yujieproject@gmail.com
File Name: src/python/pants/base/scm_project_tree.py
Class Name: ScmProjectTree
Method Name: exists