52c7c260e7c0a85e6b051af48b46e8fe9493b117,src/python/pants/core/util_rules/determine_source_files.py,,determine_all_source_files,#Any#,95
Before Change
async def determine_all_source_files(request: AllSourceFilesRequest) -> SourceFiles:
Merge all `Sources` fields into one Snapshot.
if request.strip_source_roots:
stripped_snapshots = await MultiGet(
Get(
SourceRootStrippedSources,
StripSourcesFieldRequest(
sources_field,
for_sources_types=request.for_sources_types,
enable_codegen=request.enable_codegen,
),
)
for sources_field in request.sources_fields
)
digests_to_merge = tuple(
stripped_snapshot.snapshot.digest for stripped_snapshot in stripped_snapshots
)
else:
all_hydrated_sources = await MultiGet(
Get(
HydratedSources,
After Change
@rule
async def determine_all_source_files(request: AllSourceFilesRequest) -> SourceFiles:
Merge all `Sources` fields into one Snapshot.
unrooted_files: Set[str] = set()
all_hydrated_sources = await MultiGet(
Get(
HydratedSources,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
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_all_source_files
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: pantsbuild/pants
Commit Name: 95a2e14c7613e4603a629dbc1c26799b40412391
Time: 2020-02-26
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/rules/prepare_chrooted_python_sources.py
Class Name:
Method Name: prepare_chrooted_python_sources