Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove unused functions in binlog_file.go #1605

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

Open
grodowski wants to merge 3 commits into github:master
base: master
Choose a base branch
Loading
from Shopify:grodowski/remove-unused-code

Conversation

@grodowski
Copy link
Contributor

@grodowski grodowski commented Nov 7, 2025

Follow up to #1604, I noticed there's a bunch of currently unused fns. Please close this if these functions are used for ongoing development 🙇

Copilot AI review requested due to automatic review settings November 7, 2025 09:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request removes unused code from the binlog_file.go file, cleaning up dead code that is no longer referenced anywhere in the codebase.

  • Removes four unused methods: PreviousFileCoordinatesBy, PreviousFileCoordinates, NextFileCoordinates, and DetachedCoordinates
  • Removes the unused detachPattern regex variable and its initialization
  • Removes unused imports (errors and regexp) that were only needed by the deleted code

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

@meiji163 meiji163 meiji163 approved these changes

@rashiq rashiq Awaiting requested review from rashiq rashiq is a code owner

@timvaillancourt timvaillancourt Awaiting requested review from timvaillancourt timvaillancourt is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /