ipfs / js-ipfs-unixfs

JavaScript implementation of IPFS' unixfs (a Unix FileSystem representation on top of a MerkleDAG)
Other
88 stars 34 forks source link

feat: Enable to use defaultDagBuilder with custom builders #413

Open clostao opened 2 months ago

clostao commented 2 months ago

I'm trying to add some additional optional metadata to directory's IPLD objects having an almost equal IPLD object as the IPFS standard. For this reason, we would want to use the defaultDagBuilder but customising just how file and directories IPLD objects are formed.

For achieving this I added two additional fields to DagBuilderOptions & ImporterOptions that would override the dirBuilder & fileBuilder if that option is provided.

clostao commented 1 month ago

I pushed the requested changes lmk if I can furtherly help

clostao commented 1 month ago

Any news on this one?