ipfs-shipyard / java-ipfs-http-client

A Java implementation of the HTTP IPFS API
MIT License
538 stars 243 forks source link

IPFS.add: How the set options when adding file to IPFS? #186

Closed chieukam closed 1 year ago

chieukam commented 3 years ago

I am trying to add file to IPFS and will like to add options to influence how the file will be saved on IPFS

Using command i have the following:

ipfs add --raw-leaves FILE_TO_ADD

How can i achieve the same result using the java client? That means it there a way to pass options?

Thanks in advance.

ppoloIOB commented 2 years ago

Is this feature going to be merged any time?

kevodwyer commented 1 year ago

PR will be reviewed shortly

kevodwyer commented 1 year ago

added in PR: https://github.com/ipfs-shipyard/java-ipfs-http-client/pull/206 A new release should soon appear.