Skip to content
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

fix defered unlock of pin lock in AddR #4562

Merged
merged 1 commit into from Jan 9, 2018
Merged

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Jan 8, 2018

This wasn't causing any problems because this function is actually dead code (but possibly useful?).

Should we just remove this function?

This wasn't causing any problems because this function is actually dead
code (but possibly useful?).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
@ghost ghost assigned Stebalien Jan 8, 2018
@ghost ghost added the status/in-progress In progress label Jan 8, 2018
@Stebalien Stebalien requested a review from a user Jan 8, 2018
kevina
kevina approved these changes Jan 8, 2018
Copy link
Contributor

@kevina kevina left a comment

LGTM.

@kevina
Copy link
Contributor

kevina commented Jan 8, 2018

I would say to remove it, but it is exported so it could conceivable be used by another package outside of go-ipfs. I think we have a lot of dead code like this.

@Kubuxu (or anyone else) is there a way to detect all unused exported functions in go-ipfs?

ghost
ghost approved these changes Jan 8, 2018
Copy link

@ghost ghost left a comment

Thanks!

I'd like to remove all these Add*() util funcs once the Core API is fully ready.

@whyrusleeping whyrusleeping merged commit a7d710e into master Jan 9, 2018
9 checks passed
@ghost ghost removed the status/in-progress In progress label Jan 9, 2018
@whyrusleeping whyrusleeping deleted the fix/addr-pinlock branch Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants