-
Notifications
You must be signed in to change notification settings - Fork 1.2k
files.add incorrectly calls importer function #150
Comments
Hey vijayee! This was noticed by @bgrieder as well and he created a PR already which opened up a whole can of discussion, mostly about data-exporting which I am currently working on . Ultimately we will want to restructure the way data-importing is done as well to match things like sharding in go-ipfs. There has also been an idea from @diasdavid to extract the FS things out of the importer and make the importer only take in streams. |
I wouldn't call it an 'idea', it is the plan :) ipfs-core shouldn't have to handle fs directly if used programatically. The file streams will come through the http-api, just like go-ipfs handles it. |
Seems that this is fixed now, thank you for reporting :) |
The call is erroneous:
https://github.com/ipfs/js-ipfs/blob/master/src/core/index.js#L337-L341
when compared to:
https://github.com/ipfs/js-ipfs-data-importing/blob/master/src/index.js#L18
it should be:
will pr later to fix
The text was updated successfully, but these errors were encountered: