Skip to content

feat: add 'extended' option to exporter #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 30, 2025

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Jul 29, 2025

To list directory/shard contents without resolving the root node of each directory entry, add an extended option to the exporter.

Defaults to true to preserve backwards compatibility.

To list directories without resolving the root node of each directory
entry, add an `extended` option to the exporter.

Defaults to `true` to preserve backwards compatibility.
Comment on lines +147 to +148
* Pass false here to only return the CID and the name of the entry and not
* any extended metadata.
Copy link
Member

Choose a reason for hiding this comment

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

Yea i think this will solve ipfs/helia-verified-fetch#260

@achingbrain achingbrain merged commit 332a794 into main Jul 30, 2025
20 checks passed
@achingbrain achingbrain deleted the feat/add-extended-option-to-exporter branch July 30, 2025 08:06
github-actions bot pushed a commit that referenced this pull request Jul 30, 2025
## [ipfs-unixfs-exporter-v13.7.0](ipfs-unixfs-exporter-13.6.6...ipfs-unixfs-exporter-13.7.0) (2025-07-30)

### Features

* add 'extended' option to exporter ([#437](#437)) ([332a794](332a794))
Copy link

🎉 This PR is included in version ipfs-unixfs-exporter-v13.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants