Skip to content

Core API needs to take flexible inputs #3490

Closed
@ghost

Description

We've layed the groundwork for the Core API in go-ipfs by implementing parts of the Unixfs API. Its functions properly return CIDs, but they only accept path strings as arguments, which requires unneccessary conversions in most situations.

Core API functions should accept:

  • CIDs
  • Strings
  • Multihashes
  • Paths
  • ipfs.io URIs

The go-cid package in use provides Parse() which takes care of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions