Repository navigation
Rename the internal feed types to source - #313
Open
electricessence wants to merge 1 commit into
Open
electricessence wants to merge 1 commit into
electricessence wants to merge 1 commit into
Conversation
The Channel and Dataflow pumps each have an internal interface and two structs that say where the rows of one pass come from. They were named with "feed", while the rest of the package says "source" for where rows come from. - IFeed<T> is now IPumpSource<T>. The plainer IRowSource<T> is already an internal interface in Core that the Channel and Dataflow packages can see, so that name would have clashed. - ChunkFeed<T> is now ChunkSource<T>, and RowFeed<T> is now RowSource<T>. - The type parameter TFeed is now TSource and the parameter feed is now source, in ChannelPump.Run and BlockPump.Run (no other name in those scopes is called source). - Comments and doc comments that mean these types now say "source". Uses of "feed" that mean something else (a column feeds a property, a package feed) are unchanged. A rename only: no logic, no behavior and no public member changes. Every renamed type and member is internal, and the public API files have no diff. No run-time cost. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Channel and Dataflow pumps each have an internal interface and two structs that say where the rows of one pass come from. They were named with "feed", while the rest of the package says "source" for where rows come from. This renames them; internal only, no behavior change.
IFeed<T>is nowIPumpSource<T>. The plainerIRowSource<T>is already an internal interface in Core that the Channel and Dataflow packages can see, so that name would have clashed (the owner approvedIPumpSource).ChunkFeed<T>is nowChunkSource<T>, andRowFeed<T>is nowRowSource<T>.TFeedis nowTSourceand the parameterfeedis nowsource, inChannelPump.RunandBlockPump.Run(no other name in those scopes is called source).Every renamed type and member is internal; the public API files have no diff, and grep finds no
IFeed,ChunkFeed,RowFeedorTFeedleft.Verification: solution Release and Debug (VS MSBuild) 0 warnings, 0 errors; Core.Tests 16154 passed with the generator on, 16133 passed and 16 skipped with it off; 267 sample checks; style and analyzer checks 0 findings on all 14 projects; docfx 0 warnings; style scan clean.
Reviews: a lens that compared every changed line for pure renames, collisions and left-over names (no defect).
🤖 Generated with Claude Code