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
all_snapshots: Iterable[Snapshot] = (*full_snapshots.values(), *snapshot_subsets)
result = await Get(Snapshot, MergeDigests(snapshot.digest for snapshot in all_snapshots))
unrooted_files = all_unrooted_files.intersection(result.files)
return SourceFiles(result, tuple(sorted(unrooted_files)))
def rules():