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

Commit ad039f2

Browse files
authored
Update MISCELLANEOUS.md (#215)
* Update MISCELLANEOUS.md * Update MISCELLANEOUS.md
1 parent 299517a commit ad039f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SPEC/MISCELLANEOUS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,22 @@ A great source of [examples][] can be found in the tests for this API.
7878

7979
[examples]: https://github.com/ipfs/interface-ipfs-core/blob/master/src/miscellaneous.js
8080

81-
#### `shutdown`
81+
#### `stop`
8282

83-
> Stop the ipfs daemon
83+
> Stops the IPFS node and in case of talking with an IPFS Daemon, it stops the process.
8484
8585
##### `Go` **WIP**
8686

87-
##### `JavaScript` - ipfs.shutdown([callback])
87+
##### `JavaScript` - ipfs.stop([callback])
8888

8989
`callback` must follow `function (err) {}` signature, where `err` is an error if the operation was not successful.
9090
If no `callback` is passed, a promise is returned.
9191

9292
**Example:**
9393

9494
```JavaScript
95-
ipfs.shutdown((err) => {
96-
if (err) {
95+
ipfs.stop((err) => {
96+
if (err) {
9797
throw err
9898
}
9999
})

0 commit comments

Comments
 (0)