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

dag api: add {ls, tree} #121

Description

@jbenet

We should add the following commands to the core/dag interface:

  • ipfs.dag.ls(path) - show the first level link names of the node pointed at by <path>
    • include simple return value one, for small dag objects
    • include stream/iterator based one, for huge dag objects
  • ipfs.dag.tree(path) - enumerate all entries in the graph, parting from node at <path>.
    • include simple return value one, for small subgraphs
    • stream/iterator based so that we can explore massive graphs with it.

cc @diasdavid @whyrusleeping

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions