-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
c92fc13
to
9fea1f2
Compare
@schomatis could u help me review it? |
This looks good, as part of removing the inode interface I would also remove the accessor functions ( |
9fea1f2
to
758d3ae
Compare
@schomatis Yes, It's really unnecessary to call function. I had fixed it according to your suggestion. |
inode.go
Outdated
// and `Directory`. All of its attributes are initialized at | ||
// creation. | ||
type inode struct { | ||
name string |
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.
Could you please put here the comments that were in the removed accessor functions? That way we could leverage them to document this structure.
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.
OK
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.
@schomatis it's ok, I had added the comments here.
758d3ae
to
c74a70b
Compare
c74a70b
to
90acd88
Compare
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.
LGTM, would like to get @magik6k green light before merging since I already messed up this PR twice before.
(also avoid exposing a public constructor for a private datastructure)
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.
Sorry, I never saw this change. I have some nits in overbool#1 but LGTM otherwise.
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.
(I'm going to forget about this if I don't merge it now so... I'm going to merge it now)
Closes: #11
Closes: ipfs/kubo#5182
Closes: ipfs/kubo#5094