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.
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 thedirBuilder
&fileBuilder
if that option is provided.