Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stronger typing wrt to checksums and checksum trees #70237

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

CyrusNajmabadi
Copy link
Member

Future work (less allocs) incoming.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner October 4, 2023 19:50
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 4, 2023
{
// given children must be either Checksum or Checksums (collection of a checksum)
return Checksum.Create(children.Select(c => c as Checksum ?? ((ChecksumCollection)c).Checksum));
return Checksum.Create(children);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checksum.Create(children);

Is the IEnumerable version of this still necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly not. will roll into my followup.

@CyrusNajmabadi CyrusNajmabadi merged commit ca6b7ee into dotnet:main Oct 4, 2023
@ghost ghost added this to the Next milestone Oct 4, 2023
@CyrusNajmabadi CyrusNajmabadi deleted the checksums branch October 4, 2023 23:16
@jjonescz jjonescz modified the milestones: Next, 17.9 P1 Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants