Open
Conversation
Owner
|
I'm not confident this is a backwards compatible change since it removes a method. It might not break our library, but that doesn't mean it doesn't break clients of our library (and it does break some of those). What if we did something like use path/filepath to normalize the paths even for the in-memory one? I really appreciate the pull requests, though sometimes it might be worth discussing an idea (with an issue) before proposing the pull req. |
Contributor
Author
|
The removed method is on interface you don’t return anywhere. You only
return io.Reader and io.Writer. The only place you use it is as parameter
to writer constructor which means nothing will break even if someone
defined this method.
It’s OK if you don’t merge I needed it in my fork
…On Wed, 17 Jan 2018 at 19:33, Dustin H ***@***.***> wrote:
I'm not confident this is a backwards compatible change since it removes a
method. It might not break our library, but that doesn't mean it doesn't
break clients of our library (and it does break some of those).
What if we did something like use path/filepath
<https://golang.org/pkg/path/filepath/> to normalize the paths even for
the in-memory one?
I really appreciate the pull requests, though sometimes it might be worth
discussing an idea (with an issue) before proposing the pull req.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAR2DR4254kBPomhckXEpae-ElIHwJjIks5tLi7ygaJpZM4RdwU_>
.
|
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.
This PR removes the requirement of File to implement Name() method.
Reasons: