-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Gx updates and fixes to use new cid.Builder interface. #5375
Conversation
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
7d8ee05
to
075ecb0
Compare
core/coreunix/add.go
Outdated
@@ -89,7 +89,7 @@ type Adder struct { | |||
mroot *mfs.Root | |||
unlocker bstore.Unlocker | |||
tempRoot *cid.Cid | |||
Prefix *cid.Prefix | |||
Prefix cid.Builder |
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.
May want to call this CidBuilder
.
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.
Okay. Fixed. I was doing this quick and planned to clean it up later.
mfs/ops.go
Outdated
@@ -101,7 +101,7 @@ func PutNode(r *Root, path string, nd ipld.Node) error { | |||
type MkdirOpts struct { | |||
Mkparents bool | |||
Flush bool | |||
Prefix *cid.Prefix | |||
Prefix cid.Builder |
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.
Same. Should probably rename this to CidBuilder
.
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.
Ditto.
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
Failed circleci test:
Works for me locally. |
This should hopefully be good to go now... |
@schomatis has already signed off on the unixfs PR so I'll count that as the second sign off here (no additional design decisions). |
License: MIT
Signed-off-by: Kevin Atkinson k@kevina.org