Remove unused functions in binlog_file.go by grodowski · Pull Request #1605 · github/gh-ost

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.