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

Allow lookup of code from name #39

Closed
willscott opened this issue Mar 19, 2021 · 1 comment · Fixed by #40
Closed

Allow lookup of code from name #39

willscott opened this issue Mar 19, 2021 · 1 comment · Fixed by #40

Comments

@willscott
Copy link
Contributor

currently, one can only look up the string name from a multicodec code. if you have a string code and want to know the multicodec number for it, there is no easy way to do so with the current library.

@willscott
Copy link
Contributor Author

e.g. it leads to partial re-implementations of this table in e.g. https://github.com/ipfs/go-ipfs/blob/master/core/coredag/dagtransl.go#L20-L53

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 a pull request may close this issue.

1 participant