This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Commit c830fae
authored
Updated globSource example with options (#3037)
Previously, before globSource, all options were passed in to ipfs.addFromFs together as one options object. With globSource, `recursive` and `hidden` are now separated out from the options that are traditionally passed into IPFS and are now passed in specifically to globSource.
This PR updates the example for adding files with ipfs.add and globSource to reflect that there should be two separate options objects when using globSource to add from the fileSystem and also wanting to pass in additional options to IPFS.1 parent ee8b769 commit c830fae
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
251 | 263 | | |
252 | 264 | | |
253 | 265 | | |
| |||
0 commit comments