You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
Right now you can stick a boolean pin property in the options argument to ipfs.add (and addReadableStream, etc), but there's no equivalent for ipfs.dag.put. This is awkward if you want to selectively pin or not pin your IPLD nodes and amounts to two-step ipfs.dag.put(object, options).then(cid => shouldWePinThis && ipfs.pin.add(cid.toString()) construction.
Not sure if this is the appropriate place to raise this issue but thought I'd bring it up here.
The text was updated successfully, but these errors were encountered:
Right now you can stick a boolean
pin
property in the options argument toipfs.add
(and addReadableStream, etc), but there's no equivalent foripfs.dag.put
. This is awkward if you want to selectively pin or not pin your IPLD nodes and amounts to two-stepipfs.dag.put(object, options).then(cid => shouldWePinThis && ipfs.pin.add(cid.toString())
construction.Not sure if this is the appropriate place to raise this issue but thought I'd bring it up here.
The text was updated successfully, but these errors were encountered: