Skip to content
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

Add pinning support for object.put #4092

Closed
mitar opened this issue Jul 27, 2017 · 1 comment
Closed

Add pinning support for object.put #4092

mitar opened this issue Jul 27, 2017 · 1 comment

Comments

@mitar
Copy link

mitar commented Jul 27, 2017

Version information:

go-ipfs version: 0.4.6-
Repo version: 5
System version: amd64/darwin
Golang version: go1.8

Type: Feature

Severity: Medium

Description:

Followup from ipfs-inactive/js-ipfs-http-client#532

When calling object.put, it would be great if I could specify an option that the object should also be pinned. Currently it seems I have to do two calls. But I think it is pretty common that you want objects you created to be pinned on your instance of IPFS.

@magik6k
Copy link
Member

magik6k commented Jul 27, 2017

You should be able to use ipfs dag put (which has --pin option) as a workaround for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants