Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

fix: addFromURL case #415

Merged
merged 1 commit into from
Dec 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

### Features

* move regular files api to top level, add addFromFs and addFromUrl ([#378](https://github.com/ipfs/interface-ipfs-core/issues/378)) ([3dc7278](https://github.com/ipfs/interface-ipfs-core/commit/3dc7278))
* move regular files api to top level, add addFromFs and addFromURL ([#378](https://github.com/ipfs/interface-ipfs-core/issues/378)) ([3dc7278](https://github.com/ipfs/interface-ipfs-core/commit/3dc7278))



Expand Down Expand Up @@ -1063,6 +1063,3 @@ Signed-off-by: Alan Shaw <[email protected]>
### Bug Fixes

* remove superfluous console.logs ([442ea74](https://github.com/ipfs/interface-ipfs-core/commit/442ea74))



4 changes: 2 additions & 2 deletions SPEC/FILES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- [addReadableStream](#addreadablestream)
- [addPullStream](#addpullstream)
- [addFromFs](#addfromfs)
- [addFromUrl](#addfromurl)
- [addFromURL](#addfromurl)
- [addFromStream](#addfromstream)
- [cat](#cat)
- [catReadableStream](#catreadablestream)
Expand Down Expand Up @@ -259,7 +259,7 @@ ipfs.addFromFs('path/to/a/folder', { recursive: true , ignore: ['subfolder/to/ig
]
```

#### `addFromUrl`
#### `addFromURL`

> Add a file from a URL to IPFS

Expand Down
2 changes: 1 addition & 1 deletion js/src/files-regular/add-from-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = (createCommon, options) => {
const it = getIt(options)
const common = createCommon()

describe('.addFromUrl', function () {
describe('.addFromURL', function () {
this.timeout(40 * 1000)

let ipfs
Expand Down
2 changes: 1 addition & 1 deletion js/src/files-regular/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const tests = {
addReadableStream: require('./add-readable-stream'),
addPullStream: require('./add-pull-stream'),
addFromStream: require('./add-from-stream'),
addFromUrl: require('./add-from-url'),
addFromURL: require('./add-from-url'),
addFromFs: require('./add-from-fs'),
cat: require('./cat'),
catReadableStream: require('./cat-readable-stream'),
Expand Down