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

docs: update signatures to show optional args #363

Merged
merged 1 commit into from
Sep 14, 2018
Merged
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
6 changes: 3 additions & 3 deletions SPEC/PIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

##### `Go` **WIP**

##### `JavaScript` - ipfs.pin.add(hash, [options, callback])
##### `JavaScript` - ipfs.pin.add(hash, [options], [callback])

Where:

Expand Down Expand Up @@ -40,7 +40,7 @@ ipfs.pin.add(hash, function (err) {})

##### `Go` **WIP**

##### `JavaScript` - ipfs.pin.ls([hash, options, callback])
##### `JavaScript` - ipfs.pin.ls([hash], [options], [callback])

Where:

Expand Down Expand Up @@ -71,7 +71,7 @@ A great source of [examples][] can be found in the tests for this API.

##### `Go` **WIP**

##### `JavaScript` - ipfs.pin.rm(hash, [options, callback])
##### `JavaScript` - ipfs.pin.rm(hash, [options], [callback])

Where:
- `hash` is a multihash.
Expand Down