Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Replace manual traversal with ipfs.resolve #14

Open
@lidel

Description

@lidel

AFAIK at the time this project was created ipfs.resolve was not present in js-ipfs, and we had to do the traversal manually.

Since then ipfs.resolve landed in js-ipfs so this may be worth checking.

// TODO: replace below with ipfs.resolve(path, {recursive: true})
// (requires changes to js-ipfs/js-ipfs-api)

Things to check:

  • does resolve work the same in go-ipfs and js-ipfs (eg. how HAMT directories are handled)
  • it should transparently take care of sharded directories

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps upexp/expertHaving worked on the specific codebase is importanthelp wantedSeeking public contribution on this issuestatus/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions