-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
coreapi: Split the interface into multiple files #4802
Conversation
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
core/coreapi/interface/errors.go
Outdated
import "errors" | ||
|
||
var ErrIsDir = errors.New("object is a directory") | ||
var ErrOffline = errors.New("can't resolve, ipfs node is offline") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: var block might be cleaner here.
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any changes here other than simply documenting and splitting things up into multiple files? Diffs make hard to to tell. If not, LGTM (although I didn't read the diff thoroughly).
The only API change other than splitting the interface into multiple files is the removal of mirrored |
The interface file has become quite crowed now, splitting it helps a lot.