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

Have ipfs ls return type as strings #5805

Open
dokterbob opened this issue Nov 29, 2018 · 3 comments
Open

Have ipfs ls return type as strings #5805

dokterbob opened this issue Nov 29, 2018 · 3 comments
Labels
topic/ls API Topic ls API

Comments

@dokterbob
Copy link
Contributor

Version information:

0.4.18

Type:

Bug

Description:

The ipfs ls command, when run with --enc=json, returns the types of listed items as rather meaningless numbers, whereas other places (i.e. ipfs files stat and the hopefully-soon-deprecated ipfs file ls return strings). It would be great to have this consistently return a string. Very low-hanging fruit, although perhaps a (much needed) breaking change.

Discussed before with @Stebalien in #4580.

@dokterbob
Copy link
Contributor Author

Related: #3081

@ec1oud
Copy link

ec1oud commented Jun 11, 2019

Is there agreement that it should be a string? See #5026

@Stebalien
Copy link
Member

Probably but it's also not worth breaking the API over. We plan on making a complete pass over the API before a 1.0 release and will likely tackle it then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ls API Topic ls API
Projects
None yet
Development

No branches or pull requests

4 participants