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):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

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: ac0b7e4b3d8267c682b2e821f8db592ca94103e3
Time: 2018-03-18
Author: stuhood@twitter.com
File Name: src/python/pants/engine/build_files.py
Class Name:
Method Name: spec_to_globs


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