-
Notifications
You must be signed in to change notification settings - Fork 2
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
Used hash is not added before being used #6
Comments
It is empty directory hash, we ship it with default repo or it is part of some optimization path in go-ipfs. |
I see thanks |
I still think it would be good to not rely on its existence. |
It is added as part of files api as it is default root directory and it is used by many more processes internally too. I would just suggest js-ipfs add construct like that to its default repo, or add following object to the repo |
@dignifiedquire Yeah, js-ipfs should create and add this object during init. A large number of different processes assume this exists, and it saves a lot of time if we don't have to constantly check |
Okay thanks, will add this to js-ipfs |
The base hash used here: https://github.com/whyrusleeping/ipfs-whatever/blob/master/main.go#L64 seems to not be added before being used. Not sure where it comes from, would be great if it would be added in the setup process as js-ipfs does not have this object by default.
The text was updated successfully, but these errors were encountered: