You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8ebbcd9
Browse filesBrowse the repository at this point in the historyBrowse files
Rename the internal "feed" types to "source" (#313)
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 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 (the owner approved `IPumpSource`).
- `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", in the two pumps, the call sites and five test comments. Uses of "feed" that mean something else (a column feeds a property, a package feed) are unchanged.
Every renamed type and member is internal; the public API files have no diff, and grep finds no `IFeed`, `ChunkFeed`, `RowFeed` or `TFeed` left.
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](https://claude.com/claude-code)
0 commit comments