52c7c260e7c0a85e6b051af48b46e8fe9493b117,src/python/pants/core/util_rules/determine_source_files.py,,determine_specified_source_files,#Any#,132

Before Change



    all_snapshots: Iterable[Snapshot] = (*full_snapshots.values(), *snapshot_subsets)
    if request.strip_source_roots:
        all_sources_fields = (*full_snapshots.keys(), *digest_subset_requests.keys())
        stripped_snapshots = await MultiGet(
            Get(
                SourceRootStrippedSources,
                StripSourcesFieldRequest(
                    sources_field,
                    specified_files_snapshot=snapshot,
                    for_sources_types=request.for_sources_types,
                    enable_codegen=request.enable_codegen,
                ),
            )
            for sources_field, snapshot in zip(all_sources_fields, all_snapshots)
        )
        all_snapshots = (stripped_snapshot.snapshot for stripped_snapshot in stripped_snapshots)
    result = await Get(Snapshot, MergeDigests(snapshot.digest for snapshot in all_snapshots))
    return SourceFiles(result)

After Change



    Possibly finding a subset of the original `sources` fields if the user supplied file arguments.
    
    all_unrooted_files: Set[str] = set()
    all_hydrated_sources = await MultiGet(
        Get(
            HydratedSources,
            HydrateSourcesRequest(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: pantsbuild/pants
Commit Name: 52c7c260e7c0a85e6b051af48b46e8fe9493b117
Time: 2020-08-04
Author: benjyw@gmail.com
File Name: src/python/pants/core/util_rules/determine_source_files.py
Class Name:
Method Name: determine_specified_source_files


Project Name: stellargraph/stellargraph
Commit Name: fba856cbbe5a634656361d8abc86630e6e9f9dfe
Time: 2019-12-12
Author: 52440942+geoffj-d61@users.noreply.github.com
File Name: stellargraph/data/converter.py
Class Name: NodeAttributeSpecification
Method Name: add_all_attributes


Project Name: pantsbuild/pants
Commit Name: 02a2d327ab2d25aec3a28d5c0b7f594c346f33b4
Time: 2020-07-07
Author: benjyw@gmail.com
File Name: src/python/pants/help/help_printer.py
Class Name: HelpPrinter
Method Name: _print_options_help