b29d65416481efe627ee832e9f7e6646edcd81a6,src/python/pants/backend/core/tasks/filemap.py,Filemap,_find_targets,#Filemap#,30
Before Change
else:
build_file_parser = self.context.build_file_parser
build_graph = self.context.build_graph
for build_file in BuildFile.scan_buildfiles(get_buildroot()):
build_file_parser.parse_build_file(build_file)
for address in build_file_parser.addresses_by_build_file[build_file]:
build_file_parser.inject_spec_closure_into_build_graph(address.spec, build_graph)
for target in build_graph._target_by_address.values():
yield target
After Change
def _find_targets(self):
if len(self.context.target_roots) > 0:
return self.context.target_roots
else:
return self.context.build_file_parser.scan().targets()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: b29d65416481efe627ee832e9f7e6646edcd81a6
Time: 2014-06-16
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/core/tasks/filemap.py
Class Name: Filemap
Method Name: _find_targets
Project Name: pantsbuild/pants
Commit Name: fb69acebcd2b2783dc03913e46ecfa029704f0a8
Time: 2014-08-12
Author: pl@foursquare.com
File Name: src/python/pants/base/cmd_line_spec_parser.py
Class Name: CmdLineSpecParser
Method Name: _parse_spec
Project Name: pantsbuild/pants
Commit Name: b29d65416481efe627ee832e9f7e6646edcd81a6
Time: 2014-06-16
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/core/tasks/filemap.py
Class Name: Filemap
Method Name: _find_targets
Project Name: pantsbuild/pants
Commit Name: 3442c3da20317e9e3948639bc96481124d74bf43
Time: 2016-01-25
Author: abishev.timur@gmail.com
File Name: src/python/pants/build_graph/build_file_parser.py
Class Name: BuildFileParser
Method Name: parse_build_file_family