ipfs / helia

An implementation of IPFS in JavaScript
https://helia.io
Other
814 stars 81 forks source link

fix: only traverse relevant part of HAMT #448

Closed aschmahmann closed 4 months ago

aschmahmann commented 4 months ago

Description

Switched the UnixFS resolver code to do resolve only the relevant part of a HAMT rather than potentially enumerating all of it.

Fixes: ipfs-shipyard/helia-service-worker-gateway#18

Notes & open questions

Change checklist

achingbrain commented 4 months ago

I have opened a PR that uses the unixfs-exporter to traverse the DAG here - https://github.com/ipfs/helia/pull/455

It should also solve the issue reported in https://github.com/ipfs-shipyard/helia-service-worker-gateway/issues/18

SgtPooki commented 4 months ago

Closing in favor of #455