This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
[windows] util.addFromFs
goes up almost to the root directory #408
Closed
Description
I've just tried util.addFromFs
(on a directory of Bootstrap) and received the following array:
It stores in IPFS the bootstrap
directory and its contents, which is good, but then it goes up to three levels of parent directories (almost to the root), which is not so good because:
-
it's somewhat scary (resembling a permanent data leak) even though it does not really store in IPFS anything from those parent directories except the name of the child it came from,
-
it's not convenient (because it means I cannot just grab the last element of the returned array and assume that's
bootstrap
).
Some technical details: JS IPFS API v11.0.1, Node.js v6.8.1 (64-bit), Windows 7 Professional Service Pack 1 (64-bit).