js-ipfs icon indicating copy to clipboard operation
js-ipfs copied to clipboard

there are plans to provide an option for mfs add?

Open wanghaha1991 opened this issue 3 years ago • 1 comments

There are plans to provide an option to pin files when ipfs.files.write()

Or is there any good way when I want to pin while writing files in MFS system?

For now need 3 steps:

  1. write file
  2. stat get CID
  3. pin CID

wanghaha1991 avatar Jul 25 '22 09:07 wanghaha1991

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

welcome[bot] avatar Jul 25 '22 09:07 welcome[bot]

js-ipfs is being deprecated in favor of Helia. You can follow the migration plan here https://github.com/ipfs/js-ipfs/issues/4336 and read the migration guide.

Please feel to reopen with any comments before 2023-06-05. We will do a final pass on reopened issues afterward (see https://github.com/ipfs/js-ipfs/issues/4336).

This issue might be resolved in Helia, if not, please let us know!

whizzzkid avatar May 31 '23 06:05 whizzzkid