Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Use CID for api.get/api.cat #555

Merged
merged 1 commit into from
May 14, 2017
Merged

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented May 13, 2017

go-ipfs supports CIDv1 for cat/get commands, so I guess it should also be supported here.

https://github.com/ipfs/interface-ipfs-core/tree/master/API/files#cat should be updated if this gets merged.

Copy link
Contributor

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome @magik6k, thank you for adding this in :)

Mind adding some tests to https://github.com/ipfs/interface-ipfs-core/blob/master/src/files.js that contemplate this change?

@daviddias daviddias removed the request for review from dignifiedquire May 14, 2017 21:15
@daviddias daviddias merged commit da7d0f4 into ipfs-inactive:master May 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants