4f5a7567de07131a65b1b9e0a0912730aa225e5f,src/python/pants/engine/legacy/structs.py,BaseGlobs,to_path_globs,#BaseGlobs#Any#,333
Before Change
def to_path_globs(self, relpath):
Return a PathGlobs representing the included and excluded Files for these patterns.
return PathGlobs.create(relpath, self._file_globs, self._excluded_file_globs)
def _gen_init_args_str(self):
all_arg_strs = []
positional_args = ", ".join([repr(p) for p in self._patterns])
After Change
def to_path_globs(self, relpath):
Return a PathGlobs representing the included and excluded Files for these patterns.
return PathGlobs(
tuple(os.path.join(relpath, glob) for glob in self._file_globs),
tuple(os.path.join(relpath, exclude) for exclude in self._excluded_file_globs),
)
def _gen_init_args_str(self):
all_arg_strs = []
positional_args = ", ".join([repr(p) for p in self._patterns])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: 4f5a7567de07131a65b1b9e0a0912730aa225e5f
Time: 2018-06-06
Author: dawagner@gmail.com
File Name: src/python/pants/engine/legacy/structs.py
Class Name: BaseGlobs
Method Name: to_path_globs
Project Name: pantsbuild/pants
Commit Name: 4f5a7567de07131a65b1b9e0a0912730aa225e5f
Time: 2018-06-06
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/examples/sources.py
Class Name: Sources
Method Name: path_globs
Project Name: pantsbuild/pants
Commit Name: 5bfd6cdef169103f539a092920f0004bfa5fb6f4
Time: 2018-12-06
Author: stuhood@twitter.com
File Name: src/python/pants/option/options_bootstrapper.py
Class Name: OptionsBootstrapper
Method Name: get_full_options