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(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
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: gboeing/osmnx
Commit Name: d7b2db3c5262c82c44958afc2500efe0838f0884
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys
Project Name: gboeing/osmnx
Commit Name: b2be440a78c9da841c3f1bdfa34e5dc0dc1e669c
Time: 2020-11-19
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys