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

Commit 1d36337

Browse files
committed
feat: documentation of GC using multihashes
Related to ipfs/js-ipfs#2415
1 parent 0abb4a5 commit 1d36337

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SPEC/REPO.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Where:
2020
- `err` is an Error if the whole GC operation was not successful.
2121
- `res` is an array of objects that contains the following properties
2222
- `err` is an Error if it was not possible to GC a particular block.
23-
- `cid` is the [CID][cid] of the block that was Garbage Collected.
23+
- `multihash` is the [multihashes][multihashes] of the block that was Garbage Collected.
2424

2525
If no `callback` is passed, a promise is returned.
2626

@@ -84,4 +84,4 @@ ipfs.repo.version((err, version) => console.log(version))
8484
```
8585

8686
[1]: https://github.com/MikeMcl/bignumber.js/
87-
[cid]: https://www.npmjs.com/package/cids
87+
[multihashes]: https://www.npmjs.com/package/multihashes

0 commit comments

Comments
 (0)