0662556b4fedd0933bef80a1fbf96a20a0c9ab8e,src/python/pants/base/project_tree.py,ProjectTree,exists,#ProjectTree#Any#,107
Before Change
def exists(self, relpath):
Returns True if path exists and is not ignored.
if self.isignored(self._append_slash_if_dir_path(relpath)):
return False
return self._exists_raw(relpath)
def content(self, file_relpath):
After Change
@abstractmethod
def walk(self, relpath, topdown=True):
Walk the file tree rooted at `path`. Works like os.walk but returned root value is relative path.
@abstractmethod
de f isdir(self, relpath):
Returns True if path is a directory
@abstractmethod
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: 0662556b4fedd0933bef80a1fbf96a20a0c9ab8e
Time: 2016-04-26
Author: stuhood@gmail.com
File Name: src/python/pants/base/project_tree.py
Class Name: ProjectTree
Method Name: exists
Project Name: pantsbuild/pants
Commit Name: 0662556b4fedd0933bef80a1fbf96a20a0c9ab8e
Time: 2016-04-26
Author: stuhood@gmail.com
File Name: src/python/pants/base/project_tree.py
Class Name: ProjectTree
Method Name: glob1
Project Name: pantsbuild/pants
Commit Name: 0662556b4fedd0933bef80a1fbf96a20a0c9ab8e
Time: 2016-04-26
Author: stuhood@gmail.com
File Name: src/python/pants/base/project_tree.py
Class Name: ProjectTree
Method Name: isfile