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

chore!: rename connectPeer to connectLocalPeer #695

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Jun 5, 2024

This change should have no impact.

I think connectLocalPeer is a slightly better name because:

  • Other methods, like listLocalPeers(), call them "local peers", not just "peers".
  • It clears the path for other peer types, like cloud peers (imagine a connectCloudPeer() method or similar).

This change should have no impact.

I think `connectLocalPeer` is a slightly better name because:

- Other methods, like `listLocalPeers()`, call them "local peers", not
  just "peers".
- It clears the path for other peer types, like cloud peers (imagine a
  `connectCloudPeer()` method or similar).
@EvanHahn EvanHahn marked this pull request as ready for review June 5, 2024 19:36
@EvanHahn EvanHahn requested a review from tomasciccola June 5, 2024 19:36
@EvanHahn EvanHahn merged commit cf2229f into main Jun 10, 2024
7 checks passed
@EvanHahn EvanHahn deleted the rename-connectPeer-to-connectLocalPeer branch June 10, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants